We borrow rpm packages from fedora 41, because we won't build all components ourselves. Download all packages using wget !
$ wget -ci packages.txt
for the alternative, we can use a script.
$ bash packages_downloader.sh
After all packages are downloaded, we can extract it usng rpm
and cpio
.
$ for rpm in *.rpm; do rpm2cpio $rpm | cpio -idm; done
After we extract all packages, we will get usr
and etc
directory. We can copy all files under usr
and etc
to /usr
and /etc
.
$ sudo cp -r usr/* /usr/
$ sudo cp -r etc/* /etc/
Now launch Cosmic desktop with your prefered display manager, I use tbsm
personally and it works great.
Some notes for debian :
xdg-desktop-portal
, if screenshot tool or cosmic-screenshot doesn't work.upower
, if battery percentage and time remaining won't show on cosmic-panel.geoclue
to make cosmic-settings-daemon and brightness control works.