Home

Awesome

cosmic overlay

Unofficial Gentoo overlay for Cosmic desktop environment developed by System76

Details

Quick how-to

Adding the repo

eselect repository add cosmic-overlay git https://github.com/fsvm88/cosmic-overlay.git

Emerging the DE

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/* **

NOTE: sometimes new files to install are added on master, and live ebuilds may lag behind a bit. Feel free to open an issue or a PR.

Actually emerging the DE

emerge cosmic-meta pop-theme-meta -pv

Removing the repo

# -f is required because the repo is not in the official remotes list
eselect repository remove -f cosmic-overlay

USEs

Most ebuilds use the cosmic-de eclass, part of the repo, and as such expose the following flags:

By default the ebuilds build in release mode and profile.

debug and max-opt are mutually exclusive.

debug-line-tables-only can be added on top of the release/max-opt profiles.

Personally I run with USE="debug-line-tables-only max-opt", and haven't noticed issues.

Libraries

NOTE: these were dropped as of commit fec5043, as they were unmaintained for a few months.

iced and libcosmic were added, but are not really used by the projects due to Rust's building/linking nature.
Perhaps at a later time COSMIC devs will add a way to link to system libs, but so far it's clear that doing vendor unbundling is a waste of effort.