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.

  • Zaemz@lemmy.world
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 year ago

    There are configuration files for dnf in /etc/dnf/protected.d that might have gnome-shell listed. Check that directory for a file called gnome-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.

  • abraham_linksys@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    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

    • Emma@lemmy.caOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      1 year ago

      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…

      • abraham_linksys@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        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

  • __jov@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    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.