So I’m using Fedora 38 with KDE Plasma I recently installed with one line I found online, and I was wondering if it were possible to remove GnomeShell. I tried using the command sudo dnf remove gnome-shell
, and it gave me Error: Problem: The operation would result in removing the following protected packages: gnome-shell (try to add '--skip-broken' to skip uninstallable packages)
. I did try --skip-broken
but that didn’t work as It thinks I’m trying to break my system. anyone ever done this before, and know if I could do this without breaking my system.
There are configuration files for dnf in
/etc/dnf/protected.d
that might have gnome-shell listed. Check that directory for a file calledgnome-shell.conf
. If there is, you can simply rm it and try removing gnome-shell again.Be aware that there might be packages you have installed that depend on gnome-shell, so be sure to double check the list of dependent packages that will also be removed.
Why do you want to disable it? Unless it’s causing conflicts your easiest option by far is to simply disable all extensions and pretend it doesn’t exist
I just wanted to save a bit of space, cause I thought by having two DE’s on my system would use up space. I guess if it would break my system I would leave as is. Do you know how I could make Fedora boot right into KDE instead of Gnome’s Login manager? I forgot the directory…
I don’t really distro hop much (you need a rolling release distro and a stable distro, never needed more) but if you’re asking I’ll assume you’re a Linux newb so really I would recommend doing something less custom. If you want Fedora and KDE, install the Fedora ISO that comes with KDE and be done.
I won’t say it’s incredibly complex to run multiple desktop environments, but it’s definitely more of a pain and can cause weird issues (fucking NetworkManager) Better to stick to the “happy path” and make your machine as standard as possible so it’s more compatible with everything, especially if you’re new to Linux
Install sddm, disable gdm, reboot.
Try this: sudo dnf remove gnome-shell --setopt protected_packages=
Just recently did the same. The answer with the “migrate-gnome-kde.sh” helped me.
You needed to replace the workstation release identity package with the plasma release identity one. I don’t remember the exact names but that will let you uninstall all gnome packages.