Request to allow connection to desktop, wayland, x11 and audio slots of plasma-desktop-session snap

This is a request going with the manual review of the upcoming plasma-desktop-session snap. I’d like to get a store assertion which allows other snaps to connect to the following slots of this snap:

  • desktop
  • wayland
  • x11
  • pulseaudio (deprecated, but requested in order to be compatible with older snaps)
  • audio-playback
  • audio-record

On a classic system, these interfaces are provided as implicit slots. On a core system, the plasma-desktop-session snap would serve the same role and we’d want any GUI snap to be able to auto-connect its plugs as they would on a classic system. I’d prefer not to require each individual snap to require its own declaration to allow connection if possible.

This snap is only intended to be used on core systems, as such it should be a candidate for auto-connections only on such systems.

Here’s a sketch of what we’re after:

slots:
  desktop:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection:
      on-classic: false
  wayland:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection:
      on-classic: false
  x11:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection:
      on-classic: false
  pulseaudio:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection: false
  audio-playback:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection:
      on-classic: false
  audio-record:
    allow-installation: true
    allow-connection:
      on-classic: false
    allow-auto-connection: false

This should be similar to what the ubuntu-desktop-session snap got.

Does it seem appropriate?

1 Like

Given the purpose of this snap is to provide the desktop session and hence these slots, this seems appropriate. +1 to me for use of (ie. allow-installation: true and global auto-connnect (allow-auto-connection) to the following slots for the plasma-desktop-session snap on Ubuntu Core devices only (on-classic: false):

  • desktop
  • wayland
  • x11
  • pulseaudio
  • audio-playback
  • audio-record
1 Like

This request also look appropriate to me considering the purpose of the given snap. Considering that this snap is only expected to be used on core systems, I’m just wondering if following assertion would be more appropriate?

    allow-installation: 
      on-classic: false
    allow-connection: true
    allow-auto-connection: true
1 Like

+1 from me on allowing global auto-connect and allow-installation to the plasma-desktop-session snap for the given slots. The request seems legitimate to me

thanks

2 Likes

+1 from me as well, this should match ubuntu-desktop-session

1 Like

@review-team It looks like there are enough +1s here now. Is there any chance of getting the snap declaration updated in the store to unblock this snap?

1 Like

+3 votes for, 0 votes against, granting global auto-connect and allow-installation to the given slots for snap plasma-desktop-session. This is now live.

1 Like

I confirm this is now live. Thanks all!

1 Like