• 0 Posts
  • 6 Comments
Joined 2 years ago
cake
Cake day: March 21st, 2024

help-circle



  • This is a bit more manual, so there isn’t a safe way.

    You can get groups installed by enviroment with this:

    dnf environment info kde-desktop-environment
    

    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”):

    sudo dnf remove @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:

    sudo dnf remove --assumeno @kde-desktop
    

    To remove only some packages in the group, list packages inside it:

    dnf group info kde-desktop
    

    And then manually write a dnf command to remove what you want:

    sudo dnf remove kwin plasma-* kscreenlocker kdialog kdesplasma-addons [...]
    

    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:

    sudo systemctl enable cosmic-greeter.service
    

    Cosmic greeter is the cosmic desktop display manager, if not installed install and enable it:

    sudo dnf install cosmic-greater
    

  • Just install the package of DE and switch to it through the login page (display manager).

    Fedora do provide a “group” of packages to install COSMIC Desktop. To install it:

    sudo dnf install @cosmic-desktop
    

    And now you should be able to select it on login.

    Fedora KDE uses SDDM as login/display manager. I’ve never used it so I don’t know where to click to switch DE, but maybe it should be the “Other” button.

    Fedora Workstation uses GDM (Gnome Display Manager). To switch DE click the cogwheel in the bottom-right corner.

    Edit:

    By reading the official Fedora documentation I’ve found out that there are “special groups” named “environments”.

    To list all of them:

    dnf environment list --available | grep -i desktop
    

    So to install COSMIC:

    sudo dnf install @cosmic-desktop-environment
    

    I don’t know what’s the difference, but this is what the official documentation says.

    Edit 2:

    By doing:

    dnf environment info cosmic-desktop-environment
    

    It’s clear that "environment"s are groups of groups of packages. So it could include stuff you don’t need, like libreoffice group.