Cosmic: Difference between revisions

From Alpine Linux
(Corrected last revision from moments ago that used original command, which appeared to fail - `$ apk search '^cosmic' -q | xargs -r apk add --no-cache`. Using nowiki formatting; plus @testing tag – as per recommended use of testing repo.)
(1. Removed xf86-input-libinput requirement, an X11 wrapper for the [libinput requirement](https://github.com/pop-os/cosmic-epoch/): cosmic-session already pulls in cosmic-comp, which used libinput-dev as a makedepend and libinput-libs as a dependency that [provides libinput.so.10](https://pkgs.alpinelinux.org/contents?file=libinput.so.10). 2. Updated'alpha' stage to 'beta'. 3. Renamed udev (systemd requirement) to eudev replacement; udev had also been mentioned as a prerequisite.)
 
Line 3: Line 3:
[https://system76.com/cosmic COSMIC] is the desktop environment from [https://system76.com/ System76]. COSMIC was originally the name of a modified version of GNOME made specifically for [https://system76.com/pop/ Pop! OS], but it is now a standalone desktop environment built from scratch using a custom toolkit called "[https://pop-os.github.io/libcosmic-book/ libcosmic]" that is based upon the iced toolkit and is written almost entirely in the Rust programming language. COSMIC is intended to be highly portable and does not expect systemd.  
[https://system76.com/cosmic COSMIC] is the desktop environment from [https://system76.com/ System76]. COSMIC was originally the name of a modified version of GNOME made specifically for [https://system76.com/pop/ Pop! OS], but it is now a standalone desktop environment built from scratch using a custom toolkit called "[https://pop-os.github.io/libcosmic-book/ libcosmic]" that is based upon the iced toolkit and is written almost entirely in the Rust programming language. COSMIC is intended to be highly portable and does not expect systemd.  


The COSMIC desktop is alpha software and is currently only available from Edge's [[Repositories#Testing|testing]] repository.
The COSMIC desktop is beta software and is currently only available from Edge's [[Repositories#Testing|testing]] repository.


== Prerequisites ==
== Prerequisites ==
{{:Include:Desktop prerequisites}}
{{:Include:Desktop prerequisites}}
* Enable [[Elogind]] service
* Enable [[Elogind]] service
* Install package {{pkg|xf86-input-libinput|arch=}}
{{Tip|Except for the first two [[#Prerequisites|prerequisites]], all the others have been automatically handled if another '''Wayland''' desktop (e.g. [[Sway]]) had been [[#Installation using setup-desktop|installed using the {{ic|setup-desktop}}]] script.}}
{{Tip|Except for the first two [[#Prerequisites|prerequisites]], all the others have been automatically handled if another '''Wayland''' desktop (e.g. [[Sway]]) had been [[#Installation using setup-desktop|installed using the {{ic|setup-desktop}}]] script.}}


Line 20: Line 19:
{{Cmd|<nowiki>$ doas apk add $(apk search cosmic* -q | sed 's/.*/&@testing/')</nowiki>}}
{{Cmd|<nowiki>$ doas apk add $(apk search cosmic* -q | sed 's/.*/&@testing/')</nowiki>}}


{{Note|[[Polkit]] and [[Eudev|udev]] are optional services for authentication and device management, respectively. While COSMIC will function without these services enabled, some functionality may be missing or incomplete.}}
{{Note|[[Polkit]] and [[Eudev|eudev]] are optional services for authentication and device management, respectively. While COSMIC will function without these services enabled, some functionality may be missing or incomplete.}}


== Starting COSMIC ==
== Starting COSMIC ==

Latest revision as of 20:49, 13 November 2025

File:/todo.png
cosmic screenshot.

COSMIC is the desktop environment from System76. COSMIC was originally the name of a modified version of GNOME made specifically for Pop! OS, but it is now a standalone desktop environment built from scratch using a custom toolkit called "libcosmic" that is based upon the iced toolkit and is written almost entirely in the Rust programming language. COSMIC is intended to be highly portable and does not expect systemd.

The COSMIC desktop is beta software and is currently only available from Edge's testing repository.

Prerequisites

Tip: Except for the first two prerequisites, all the others have been automatically handled if another Wayland desktop (e.g. Sway) had been installed using the setup-desktop script.


Manual Installation

Most of the desktop can be installed as follows, having previously tagged the testing repository:

$ doas apk add cosmic-session@testing

This does not include some of the applications like cosmic-term and cosmic-edit. They can all be installed with:

$ doas apk add $(apk search cosmic* -q | sed 's/.*/&@testing/')

Note: Polkit and eudev are optional services for authentication and device management, respectively. While COSMIC will function without these services enabled, some functionality may be missing or incomplete.

Starting COSMIC

COSMIC can be started using a display manager or from the console:

start-cosmic

Troubleshooting

See also