COSMIC
COSMIC is a desktop environment built by System76 in Rust.
Installation
Overlay
The fsvm88's cosmic-overlay provides all necessary packages.
It can be added with the following command:
root #
eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay
Unmasking unstable ebuilds
For the latest tagged release, you can unmask the packages in /etc/portage/package.accept_keywords/cosmic-de (or whatever file you prefer):
cosmic-de/*
Unmasking live ebuilds
To try out the latest commits from master branch, you can unmask the packages in /etc/portage/package.accept_keywords/cosmic-de (or whatever file you prefer):
# live ebuilds are masked via "missing" keywords
cosmic-de/* **
Emerging
After unmasking the ebuilds, COSMIC can be installed by emerging the following packages.
root #
emerge cosmic-meta pop-theme-meta
Configuration
Configuration process is a bit different on systems with and without systemd.
systemd
OpenRC
greetd
The most convenient way of login management while using COSMIC is using greetd.
First of all, greetd and elogind need to be installed:
root #
emerge gui-libs/greetd sys-auth/elogind
elogind has to be enabled as a service on the boot runlevel:
root #
rc-update add elogind boot
greetd needs to be configured as a display manager. That can be achieved with the following configuration:
CHECKVT=7
DISPLAYMANAGER="greetd"
Display manager needs to be enabled as a service:
root #
rc-update add display-manager default
At the end, greetd needs to be configured to run cosmid-greeter as a frontend. It's very important to run it as cosmic-greeter user.
[terminal]
vt = 1
[default_session]
command = "/usr/bin/cosmic-comp /usr/bin/cosmic-greeter"
user = "cosmic-greeter"
After that, you can reboot your machine. If everything went well, you should be prompted with a password and then able to launch COSMIC.