No description
Find a file
2026-02-12 19:58:57 +01:00
.github/workflows Add just to check features CI dependencies 2026-01-29 15:26:43 -07:00
.vscode feat: dropdown popups 2025-03-14 18:12:40 +01:00
cosmic-settings fix(appearance): 'Reset to default' not appearing 2026-02-12 19:58:57 +01:00
crates/cosmic-pipewire fix(sound): only consider active routes when setting volume and mute-ness 2026-02-12 13:54:54 -05:00
debian fix(a11y): listen to screen reader changes from org.a11y.Bus 2026-01-09 22:28:48 +01:00
i18n Added "action on typing" setting to workspaces settings page. 2026-02-11 15:23:45 -07:00
page chore: update dependencies 2026-01-13 20:50:45 +01:00
pages/wallpapers chore: update dependencies 2026-01-13 20:50:45 +01:00
resources Update com.system76.CosmicSettings.StartupApps.desktop ITA 2026-01-27 10:33:07 -07:00
subscriptions fix(network): show missing WPA3-only networks 2026-02-12 19:56:21 +01:00
.gitattributes github: ignore i18n subdirectories in language stats 2025-10-01 20:38:08 +02:00
.gitignore chore: add nix flake 2023-06-26 18:22:58 +02:00
cargo.just build: use cargo vendor --locked 2026-01-13 20:50:45 +01:00
Cargo.lock fix(region): only display 'Install additional languages' if gnome-language-selector is available 2026-02-12 19:58:19 +01:00
Cargo.toml Added branch action-on-typing to workspace.dependencies.cosmic-comp-config, which (unless merged) contains necessary changes to build cosmic-settings. 2026-02-11 15:23:45 -07:00
flake.lock chore: update flake 2025-10-22 04:32:19 +02:00
flake.nix fix(nix): Simplify nix flake and fix dependencies 2025-05-28 17:21:45 +02:00
justfile build: add build-deb recipe for vendorless package build 2025-10-08 12:03:18 +02:00
LICENSE.md feat: settings application architecture 2023-01-26 23:20:45 +01:00
README.md feat: merge subscriptions crate into cosmic-settings repo 2025-10-08 21:48:23 +02:00
rust-toolchain.toml chore: update libcosmic 2025-10-03 18:21:25 -04:00
TESTING.md docs: Add QA testing checklist 2025-07-21 16:54:02 +02:00

COSMIC Settings

The settings application for the COSMIC desktop environment.

Translators

Translations must go through Weblate at https://hosted.weblate.org/projects/pop-os/cosmic-settings.

Distributors

We will accept pull requests for distro-specific features and pages. Make them compile conditionally with a cargo feature.

The accent palettes on the Appearance settings page are configurable through the cosmic-config directory at /usr/share/cosmic/com.system76.CosmicSettings/v1/. One at accent_palette_dark, and another at accent_palette_light. Examples can be found at resources/accent_palette_dark.ron and resources/accent_palette_light.ron. This can be copied locally to ~/.config/cosmic/com.system76.CosmicSettings/v1/ for testing, and then move to /usr/share/cosmic for packaging.

Build

Dependencies

See the Build-Depends section of the debian control file.

Install

COSMIC uses just as its preferred build tool.

just
sudo just install

Packaging

If packaging for a Linux distribution, vendor dependencies locally with the vendor rule, and build with the vendored sources using the build-vendored rule. When installing files, use the rootdir and prefix variables to change installation paths.

just vendor
just build-vendored
just rootdir=debian/cosmic-settings prefix=/usr install

It is recommended to build a source tarball with the vendored dependencies, which can typically be done by running just vendor on the host system before it enters the build environment. Reference debian/rules to see how we generate debian packages with sbuild.

Developers

Developers should install rustup and configure their editor to use rust-analyzer. Run just check to ensure that the changes you make are free of linter warnings. You may configure your editor to run just check-json as the rust-analyzer check command.

Run the cosmic-settings binary with just run so that logs will be emitted to stderr, and crashes will generate detailed backtraces. Applications shouldn't crash, so when writing code, avoid use of unwrap() and expect(). Instead, log errors with tracing::error!() or tracing::warn!().

To improve compilation times, use Rust >= 1.90.0 and configure sccache for use with Rust.

License

Licensed under the GNU Public License 3.0.

Contribution

Any contribution intentionally submitted for inclusion in the work by you shall be licensed under the GNU Public License 3.0 (GPL-3.0). Each source file should have a SPDX copyright notice at the top of the file:

// SPDX-License-Identifier: GPL-3.0-only