Skip to content

Conversation

sandptel
Copy link

@sandptel sandptel commented Aug 30, 2025

This replaces the following gnome dependencies with the following cosmic ones.

  • regolith-control-center -> cosmic-settings + cosmic-settings-daemon
  • + cosmic-idle
  • swaybg -> cosmic-bg
  • gtk_lock -> ?
  • gnome-session-quit -> systemctl/loginctl
  • nautilus -> cosmic-files

The following config can be used with https://github.com/sandptel/regolith-session/tree/cosmic-session inside of the cosmic-sys-ext environment as mentioned below. Or can be tested locally

git clone https://github.com/sandptel/regolith-wm-config
cd regolith-wm-config

Launch the session using the following

cosmic-session sway --config ./etc/regolith/sway/config -d

This configuration work in pair with the following fork of cosmic-settings that convert the cosmic-settings changes to sway-ipc commands via swayipc-rs within the application for hot loading the changes and an equivalent sway config is added/changed at $HOME/.config/regolith3/sway/cosmic-settings/generated-config.d/*

include $HOME/.config/regolith3/sway/cosmic-settings/generated-config.d/*

Testing Environment

sudo apt install just rustc libglvnd-dev libwayland-dev libseat-dev libxkbcommon-dev libinput-dev udev dbus libdbus-1-dev libsystemd-dev libpixman-1-dev libssl-dev libflatpak-dev libpulse-dev pop-launcher libexpat1-dev libfontconfig-dev libfreetype-dev mold cargo libgbm-dev libclang-dev libpipewire-0.3-dev libpam0g-dev -y

and some extra dependencies I found were missing in the list when compiling cosmic-applets

sudo apt install libdisplay-info-dev
sudo apt install gstreamer-sys
sudo apt install libgstreamer1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good
sudo apt install libgstreamer-plugins-base1.0-dev
git clone --recurse-submodules https://github.com/pop-os/cosmic-epoch
cd cosmic-epoch
just sysext

@sandptel sandptel marked this pull request as draft August 30, 2025 05:58
@sandptel sandptel force-pushed the cosmic branch 2 times, most recently from 93d65d9 to 438e312 Compare August 30, 2025 06:10
@SoumyaRanjanPatnaik
Copy link
Contributor

gnome-flashback-media-keys is for X11. Anything that has flashback mentioned on it deals with the i3 session. COSMIC is wayland only hence a COSMIC session would be sway only

@SoumyaRanjanPatnaik
Copy link
Contributor

What degree of success have you had with running this session with cosmic-sysext? Also are the dependency names placeholders, since I'm not sure if the packages for COSMIC's Debian / Ubuntu sessions are available.

@sandptel
Copy link
Author

What degree of success have you had with running this session with cosmic-sysext? Also are the dependency names placeholders, since I'm not sure if the packages for COSMIC's Debian / Ubuntu sessions are available.

So the dependency names are placeholders but We can use the OpenSUSE Build Service that provides COSMIC Packages for Debian.

echo 'deb http://download.opensuse.org/repositories/home:/nomispaz:/debian:/cosmic-desktop/Debian_Testing/ /' | sudo tee /etc/apt/sources.list.d/home:nomispaz:debian:cosmic-desktop.list
curl -fsSL https://download.opensuse.org/repositories/home:nomispaz:debian:cosmic-desktop/Debian_Testing/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_nomispaz_debian_cosmic-desktop.gpg > /dev/null

sudo apt update

I have tried removing the sysext and used these applications on Debian and it works the same as sysext.

sudo apt install cosmic-app-library cosmic-applets cosmic-bg cosmic-comp cosmic-edit cosmic-ext-alternative-startup cosmic-ext-extra-sessions cosmic-files cosmic-greeter cosmic-icons cosmic-idle cosmic-launcher cosmic-notifications cosmic-osd cosmic-panel cosmic-player cosmic-randr cosmic-screenshot cosmic-session cosmic-settings cosmic-settings-daemon cosmic-term cosmic-wallpapers cosmic-workspaces xdg-desktop-portal-cosmic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants