Jon Seager, Vice President of Engineering at Canonical and Technical Lead of the Ubuntu project, has announced the resumption of work on the Ubuntu Core Desktop project, which develops an alternative desktop edition of Ubuntu that utilizes features from the Ubuntu Core platform and employs packages in Snap format instead of deb packages.
Unlike existing atomic update distributions, whose system components are mounted in read-only mode, Ubuntu Core Desktop uses a model where "all components are in snap format." In this model, the contents of the system environment, the Linux kernel, the bootloader, desktop environments, multimedia servers, background processes, and applications are delivered in snap format and managed by the snapd toolkit.
Unlike the previously developed prototype, the distribution intends to be more modular and instead of delivering a single snap package with the Ubuntu Core environment, it will divide the core system into a set of separately updatable snap packages. All applications are intended to be run in isolation from the main system, and for packages that do not support isolation, a layer for execution using virtualization will be provided.
To control applications' access to system and external resources, a permissions request mechanism is being developed, requiring user confirmation for access, for example, when snap packages attempt to access files in the home directory, the webcam, or the microphone. Dynamic output of requests is generated based on an analysis of system call accesses, and access restrictions are organized using AppArmor.
Development is being carried out with an eye toward three basic usage scenarios:
- A workstation where the main activity involves using a web browser and working with web applications. This scenario is considered the quickest to implement, as there are already ready-made snap packages for Firefox and Chromium, and support has been established for permission requests when accessing the camera and microphone.
- A system for software developers that allows multiple development environments to be used simultaneously, installed in isolated environments using the workshop toolkit, which utilizes LXD for container management. If necessary, to run applications from deb packages, flatpak packages, or classic snap packages not running on Ubuntu Core, containers or virtualization will be utilized.
- A system for computer gamers built around the Steam snap package. Components of the gaming stack, such as Proton, Mesa, and drivers, will also be delivered in snap format, allowing for the installation of the latest versions of these components or the use of different versions with different games.
In preparation for the next release of Ubuntu, work is planned to separate the components of the desktop environment into different modules, create snap interfaces to support various functions and usage scenarios, and test the new architecture of Ubuntu Core Desktop on the aforementioned three usage scenarios. Additionally, cooperation has begun with KDE Neon project developers to create a version of the KDE Neon distribution implemented on top of Ubuntu Core, which will allow for the adaptation of Ubuntu Core Desktop to support various desktops, not limited to GNOME.
Source: opennet.ru
