跳转到内容

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

启动

[编辑 | 编辑源代码]

最简单的方法是通过已安装的Display Manager启动它,如GNOMEKDE Plasma默认使用的GDM、SDDM 等,将会在登录界面发现一个额外的cosmic启动选项。

如果要仅从tty启动,只需运行:

$ start-cosmic

使用 Cosmic 会话管理器

[编辑 | 编辑源代码]

COSMIC包含了一个基于greetd的显示会话管理器cosmic-greeter。如果要使用这个dm,请激活cosmic-greeter.service服务。

Configuration

[编辑 | 编辑源代码]

The panel can be used to configure besides using the settings applet, examples of applets are provided.

参见

[编辑 | 编辑源代码]