COSMIC 是一個使用 Rust 程式語言開發的桌面環境,使用iced 跨平台 Rust GUI庫和 Smithay 作為其合成器 Cosmic-comp 的構建模塊。Cosmic-comp 相當於 smithay 自己的 anvil 合成器參考實現,就像 Wayland 項目使用 Weston 作為合成器參考實現一樣。
在獨立的 COSMIC 桌面環境完成之前,Pop!_OS 仍然使用其傳統的 COSMIC 桌面,這是一個經過大量定製的 GNOME 桌面環境。
安裝
安裝cosmic-session包軟體包或cosmic包組組,開發版本可以安裝cosmic-session-gitAUR獲得,它依賴於所有的組件包
When building from source, beware the cosmic-applets-gitAUR dependency needs more than 8GB of RAM. Restricting linking to one job is an option to get it built. If you build it repeatedly, setting the CARGO_TARGET_DIR
environment variable helps downloading less often:
MOLD_JOBS=1 CARGO_TARGET_DIR=/tmp/mytarget
Individual components coming as dependencies of cosmic-session
COSMIC comprises a compositor, library, and applets, which may be installed as parts. cosmic-comp包, cosmic-applets包, cosmic-app-library包, cosmic-bg包, cosmic-icon-theme包, cosmic-launcher包, cosmic-notifications包, on screen display to overlay messages with cosmic-osd包, a dock and panel with cosmic-panel包, cosmic-settings包, and others.
Independent components
An editor, cosmic-text-editor包, a file manager cosmic-files包, a terminal, cosmic-terminal包, a multimedia player cosmic-player包, and wallpapers, cosmic-wallpapers包 are provided.
啟動
最簡單的方法是通過顯示管理器啟動它,除了GNOME、KDE Plasma等之外,它還會作為額外選項出現。
要從tty啟動COSMIC,請運行:
$ start-cosmic
Using Cosmic Greeter
COSMIC ships cosmic-greeter包, a display manager based on greetd. To use it, enable cosmic-greeter.service
.
Configuration
The panel can be used to configure besides using the settings applet, examples of applets are provided.