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.