this post was submitted on 04 Jul 2026
11 points (100.0% liked)

Linux

66264 readers
474 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 7 years ago
MODERATORS
 

I want to switch to another DE on Fedora, from KDE to COSMIC, is it possible to switch in some simple way, kind of with rpm-ostree or something? I've searched the web but only found info on doing this with Atomic desktops, but I'm not using one and not planning to yet

you are viewing a single comment's thread
view the rest of the comments
[–] MrSoup@lemmy.zip 7 points 3 days ago* (last edited 2 days ago) (1 children)

Just install the package of DE and switch to it through the login page (display manager).

Fedora do provide a "group" of packages to install COSMIC Desktop. To install it:

sudo dnf install @cosmic-desktop

And now you should be able to select it on login.

Fedora KDE uses SDDM as login/display manager. I've never used it so I don't know where to click to switch DE, but maybe it should be the "Other" button.

Fedora Workstation uses GDM (Gnome Display Manager). To switch DE click the cogwheel in the bottom-right corner.

Edit:

By reading the official Fedora documentation I've found out that there are "special groups" named "environments".

To list all of them:

dnf environment list --available | grep -i desktop

So to install COSMIC:

sudo dnf install @cosmic-desktop-environment

I don't know what's the difference, but this is what the official documentation says.

Edit 2:

By doing:

dnf environment info cosmic-desktop-environment

It's clear that "environment"s are groups of groups of packages. So it could include stuff you don't need, like libreoffice group.

[–] pixeldaemon@sh.itjust.works 0 points 3 days ago (2 children)

Thanks, how about removing KDE safely afterwards?

[–] nfms@lemmy.ml 3 points 2 days ago

Don't uninstall it before you've tested cosmic. Just select the Desktop you want to login with, make it default. When you're comfortable with it, you can think about removing Plasma.

[–] MrSoup@lemmy.zip 4 points 2 days ago* (last edited 2 days ago)

This is a bit more manual, so there isn't a safe way.

You can get groups installed by enviroment with this:

dnf environment info kde-desktop-environment

You can then check the difference between your new installed cosmic environment and removing the differences or just remove the desktop group (in this case "kde-desktop"):

sudo dnf remove @kde-desktop

I've never done this, so be aware and check every step.

This maybe could try to delete packages even required by your new cosmic environment or other packages useful in general. Try to run the command and see what it lists to remove (do not confirm if not sure). This is a safer version which automatically says " no", sou you can just list changes:

sudo dnf remove --assumeno @kde-desktop

To remove only some packages in the group, list packages inside it:

dnf group info kde-desktop

And then manually write a dnf command to remove what you want:

sudo dnf remove kwin plasma-* kscreenlocker kdialog kdesplasma-addons [...]

Lemmy know how this process goes because I want to switch to COSMIC too in the near future.

Edit:

If you delete the old display manager (ie SDDM), remember to switch to the new one. I'm not sure if the system does it automatically. To switch do:

sudo systemctl enable cosmic-greeter.service

Cosmic greeter is the cosmic desktop display manager, if not installed install and enable it:

sudo dnf install cosmic-greater