Recently, I’ve noticed an uptick in users over at the Fedora community Discord trying to swap from Workstation to KDE without reinstalling and losing their installed applications.
I’ve put together the following steps and would like feedback on any aspects I’ve missed.
Tested on F42+ Workstation
1. Install KDE
- Open the Terminal app and run the code block below
sudo systemctl disable gdm
sudo dnf swap -y --allowerasing fedora-release-workstation fedora-release-kde
sudo dnf group install -y --no-packages kde-desktop-environment
sudo dnf install -y -x digikam,k3b,kipi-plugins,krusader,ktorrent,mariadb-server-utils @kde-desktop @kde-apps @kde-media @kde-pim @kde-spin-initial-setup @libreoffice libreoffice-draw libreoffice-math @firefox plasma-welcome-fedora kde-l10n
2. Remove GNOME
- Reboot the system
- In the bottom left of Plasma’s login screen, click on the Desktop Session text, then select Plasma from the popup list
- Now login and open the Konsole app and run the code block below in the default
bash
sudo dnf remove -y @workstation-product-environment gdm gnome-{classic-session,control-center,desktop{3,4},settings-daemon,initial-setup,user-docs,user-share,shell-extension-background-logo,backgrounds,browser-connector,boxes,calculator,calendar,characters,clocks,connections,contacts,disk-utility,epub-thumbnailer,font-viewer,logs,maps,software,system-monitor,text-editor,weather} NetworkManager-{openconnect,openvpn,pptp,ssh,vpnc,l2tp}-gnome gvfs-{afp,afc,fuse,mtp,smb,gphoto2,archive,goa} rygel pinentry-gnome3 localsearch tracker tracker-miners PackageKit-gtk3-module desktop-backgrounds-gnome fros-gnome gamemode baobab loupe rhythmbox snapshot simple-scan sushi totem nautilus ptyxis yelp papers showtime decibels
3. Optional: Fix Grub’s kernel labels
Be 500% sure you type the following rm command correctly!
sudo rm -f /boot/*-0-rescue*
sudo dnf reinstall -y kernel-core