跳至內容

COSMIC

出自 Arch Linux 中文维基

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.

獨立組件

[編輯 | 編輯原始碼]

文本編輯器, cosmic-text-editor, 文件管理器 cosmic-files, 終端模擬器, cosmic-terminal, 媒體播放器 cosmic-player, 壁紙選擇器, cosmic-wallpapers

啟動

[編輯 | 編輯原始碼]

最簡單的方法是通過顯示管理器啟動它,除了GNOMEKDE 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.

參見

[編輯 | 編輯原始碼]