If you want to do the reverse operation and switch from KDE Plasma to the Gnome Shell, I also have a blog post on that.
Replacing the Gnome Shell on Fedora 39 requires only a couple of dnf and systemctl commands to convert the default Fedora Workstation into the KDE spin. It might also work on earlier and later versions.
I have verified these steps on a fresh installation. Be sure to check the console output to avoid accidentally uninstalling any required software if you perform the desktop swap on a productive system.
Start with upgrading all packages. It is generally a good idea when performing such a massive system change.
sudo dnf upgrade
Next, you change the type of the Fedora installation. This is required because Fedora uses package groups and protected packages. You allow removing the Gnome package groups by swapping them with the KDE package groups.
sudo dnf swap fedora-release-identity-workstation fedora-release-identity-kde
And the second command.
sudo dnf swap fedora-release-workstation fedora-release-kde
Next, fetch the KDE spin packages and dump them on your storage drive (omitting output for brevity).
sudo dnf group install "KDE Plasma Workspaces"
Now that KDE packages are installed disable GDM and enable the SDDM login manager on boot.
sudo systemctl disable gdm
sudo systemctl enable sddm
At this point, I would log out or reboot and log into the KDE session.
As the final step, you remove the Fedora Gnome packages and the remaining stragglers.
sudo dnf group remove "Fedora Workstation"
sudo dnf remove *gnome*
sudo dnf autoremove
That is all there is to turn the default Fedora Gnome installation into the Fedora KDE spin.
I have noticed that `dnf` uninstalled Libre Office during the swap. If you require the office suite, install it with the following command.
sudo dnf install libreoffice
You can achieve a similar result with the following commands. I assume they do not entirely turn the regular Gnome spin into the KDE spin but only change the desktop environment. The scope of the change appears to be smaller.
sudo dnf install @kde-desktop-environment
sudo dnf remove @gnome-desktop
sudo dnf remove *gnome*
You can verify that all gnomes have been removed by querying dnf to list the installed packages.
dnf list --installed | grep gnome
If you do not execute the first command to change the Fedora identity, you will receive an error like the following.
Error:
Problem: problem with installed package fedora-release-identity-workstation-39-34.noarch
- package fedora-release-identity-workstation-39-30.noarch from fedora requires fedora-release-workstation = 39-30, but none of the providers can be installed
- package fedora-release-identity-workstation-39-34.noarch from @System requires fedora-release-workstation = 39-34, but none of the providers can be installed
- package fedora-release-identity-workstation-39-34.noarch from updates requires fedora-release-workstation = 39-34, but none of the providers can be installed
- conflicting requests
(try to add '--skip-broken' to skip uninstallable packages)
I hope this was helpful.
Thank you for reading.
[…] If you want to do the reverse operation and switch from Gnome Shell to KDE Plasma, I also have a blog post on that. […]
LikeLike