An example snap confined “desktop”
What is a snap confined desktop?
A confined snap has limited access to the host system. That means that a confined desktop and other applications contained in the snap have limited access to the system they are running on.
Confined snaps can run both on “Classic” Linux and Ubuntu Core. That means a confined desktop snap can run both on “desktop” computers and embedded systems.
Egmde is a simple desktop environment based on Mir and is used for demonstration purposes.
The “egmde-confined-desktop” snap confines egmde and a variety of applications to illustrate the possibilities.
The illustrations included here are based on a branch of the
egmde-confined-desktop snap. It is a branch because some of the features are not yet supported by the
stable version of
Here are the commands needed to install and setup this version of the snap:
snap install --candidate snapd
snap install --channel edge/kodi egmde-confined-desktop
You may wonder why the “setup” script is needed: it connects some interfaces that need to connected manually and copies the
.desktop file needed to register with the greeter. We are looking for a better way to do the latter.
Having set this up you can run the snap on an existing X11 desktop:
You’ll find a variety of applications included, including QTerminal. But you will find that you cannot run all the commands on the system:
You can run applications that are in the snap:
If you sign out you can sign back in using the confined snap (sometimes it is necessary to reboot before it appears in the list):
Have fun! And remember, this desktop is confined, so your system is protected.