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


Thanks, how about removing KDE safely afterwards?
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.
This is a bit more manual, so there isn’t a safe way.
You can get groups installed by enviroment with this:
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”):
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”, so you can just list changes:
To remove only some packages in the group, list packages inside it:
And then manually write a dnf command to remove what you want:
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:
Cosmic greeter is the cosmic desktop display manager, if not installed install and enable it: