ITADN
lcheylus/cosmic-debian
lcheylus/cosmic-debian · 文件
文件最后提交记录最后更新时间
README.md

COSMIC DE for Debian testing distribution

Debian testing badge Badge for COSMIC release version

This repository provides Debian Linux packages for the full COSMIC Desktop Environment. Each release corresponds to an official COSMIC Epoch release.

These packages are built via GitHub Actions on Debian testing distribution (current version forky/sid) for amd64 architecture only. They probably also work on unstable distribution (not tested).

Main GitHub repository of COSMIC DE https://github.com/pop-os/cosmic-epoch/


Installation

[!IMPORTANT] Backup your system before installing COSMIC using this repository. Or install it on a disposable Debian testing installation used for conducting tests.

By default, a display manager (LightDM, GDM, SDDM...) is configured and invoked to start an X11 or Wayland session. To disable it and log-in in console using your username and password, run the commands below.

sudo systemctl set-default multi-user.target

Reboot again and Debian boots to console mode.

Note If you want to undo this change and get your Debian system to boot to the default graphical mode use the terminal command below.

sudo systemctl set-default graphical.target

Download install.sh script shell

$ wget https://raw.githubusercontent.com/lcheylus/cosmic-debian/refs/heads/main/install.sh

$ chmod +x install.sh

The install.sh script shell allows to install all components and apps for COSMIC DE + additional packages not available in official APT Debian repository:

  • download every .deb file for COSMIC components and apps from the latest release available in this repository
  • checks downloaded COSMIC .deb files with SHA256 checksums
  • download every .deb file for additional packages from this repository
  • checks these downloaded .deb files with SHA256 checksums
  • install Debian packages needed by COSMIC DE with apt install
  • install additional packages with dpkg -i command.
  • install packages for all COSMIC components and apps with dpkg -i command.

The install.sh script has 2 optional integer variables (value = 0 or 1) that you could use to set options:

  • INSTALL_APPS: install COSMIC applications (1 by default).
  • KEEP: keep downloaded .deb files after installation (0 by default => files are removed after install).

Run install.sh script to install COSMIC DE

[!CAUTION] The install.sh script must be executed using sudo to allow installation of Debian packages.

sudo ./install.sh

Start COSMIC DE

From your console, run command to start COSMIC DE:

$ start-cosmic

Update previous COSMIC installation

The install.sh script allows also to update a previous COSMIC installation to the latest release published in this repository. During its execution, it downloads the latest available version of Debian packages and install them via dpkg command.


Components of COSMIC Desktop

Each component has a debian directory in its sources tree with files to build the corresponding Debian package.

List of all components necessary to install COSMIC Desktop Environment:

cosmic-sound-theme is not needed to install COSMIC DE and is not packaged.

List of COSMIC Apps, also available as Debian package but installation is optional.

Some components require additional dependencies. For example, cosmic-icons component needs pop-icon-theme package built from icon-theme repository.

List of additional packages: "Depends" to install COSMIC components/apps not available as official Debian packages.

PackageDescriptionNeeded by
adw-gtk3libadwaita theme ported to GTK3cosmic-settings-daemon
appstream-data-popAppStream data for Pop!_OScosmic-initial-setup
cosmic-store
pop-fontsPop fontscosmic-session
pop-icon-themePop iconscosmic-icons
pop-sound-themePop sound themecosmic-settings-daemon

How to publish a new Release

TODO


TODO

  • Build COSMIC components with Rust on local Debian testing
  • Tests COSMIC DE on local Debian testing
  • Add GH workflow to build additional packages
  • Release additional packages
  • Add GH workflow to build Debian packages for all COSMIC apps
  • Add GH workflow to build Debian packages for all COSMIC component
  • Release Debian packages from official COSMIC release/tag for COSMIC apps and components
  • Add shell script to download and install packages for a COSMIC release
  • Add a template to create issues
  • Publish releases in a Debian repository on GitHub pages