No description
Find a file
Lionel DARNIS f9b27c8d4d window-management: restaurer le toggle boutons a gauche (style macOS)
Reprend le contenu de 52ce463 (22 avril), present sur local/yoda-main
mais jamais reporte sur local/yoda-main-1.3.0. La branche 1.3.0 a ete
coupee sans ce commit, si bien que le paquet construit le 31 juillet ne
contenait plus l'option : `strings /usr/bin/cosmic-settings` ne trouvait
aucune occurrence de position-start.

Retablit dans Bureau > Gestion des fenetres > Controles des fenetres le
bouton « Placer les boutons a gauche (style macOS) », le variant de
message WindowControlsPositionStart qui ecrit Start ou End dans le
CosmicTk (com.system76.CosmicTk), et la cle fluent
window-controls.position-start en en et fr.

Le Cargo.toml de 52ce463 n'est volontairement pas repris : son override
[patch] vers libcosmic est obsolete depuis a44a022, qui resout la
dependance via libcosmic-yoda sous le nom externe `cosmic`. L'API cote
libcosmic est intacte (WindowControlsPosition exporte par widget,
config::window_controls_position()), cargo check passe.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-07 18:40:34 +02:00
.github feat(wallpapers): enable avif support via libdav1d 2026-07-07 16:34:25 -06:00
.vscode feat: dropdown popups 2025-03-14 18:12:40 +01:00
.zed chore: add rustfmt config 2026-05-15 16:26:20 -06:00
cosmic-settings window-management: restaurer le toggle boutons a gauche (style macOS) 2026-08-07 18:40:34 +02:00
crates/cosmic-pipewire/src feat(sound): use cosmic-settings-daemon's varlink API 2026-06-15 21:09:03 +02:00
debian build: make avif feature optional but enable by default 2026-07-07 16:34:25 -06:00
i18n window-management: restaurer le toggle boutons a gauche (style macOS) 2026-08-07 18:40:34 +02:00
page fix: depend on libcosmic-yoda under the cosmic extern name 2026-07-31 12:14:23 +02:00
pages build: make avif feature optional but enable by default 2026-07-07 16:34:25 -06:00
resources feat: reapply frosted glass feature 2026-07-10 19:06:17 +02:00
subscriptions feat(networking): replace custom NetworkManager backend with nmrs 2026-07-14 12:11:48 -04: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: depend on libcosmic-yoda under the cosmic extern name 2026-07-31 12:14:23 +02:00
Cargo.toml fix: depend on libcosmic-yoda under the cosmic extern name 2026-07-31 12:14:23 +02: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 feat: add openrc cargo feature for OpenRC bluetooth service management 2026-06-04 20:34:57 +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 build: set MSRV to Rust 1.93 2026-04-27 15:08:13 +02:00
rustfmt.toml chore: add rustfmt config 2026-05-15 16:26:20 -06:00
TESTING.md Spelling corrections in TESTING.md (#1946) 2026-04-03 13:41:30 -06: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