Removing Desktop Environment in Fedora

Does anyone know how to remove a desktop environment in Fedora? I tried KDE Plasma and found that I don’t like it since the use of Lenovo’s screenshot key is /dev/null, and tried removing it by calling:

$ sudo dnf remove @plasma-desktop-environment
[sudo] password for richard:
No groups to remove for argument: plasma-desktop-environment

Nothing to do.
1 Like

The package name should be kde-desktop-environment.

I called sudo dnf remove @kde-desktop-environment days ago as well as trying sudo dnf remove @kde-plasma-desktop-environment and though the files may have been removed, the desktop environment still exists, as I saw the files being removed.

This platform is a little difficult to navigate and I just today found your R suggestion, which, as stated, worked.

1 Like

Okay, try using the group and remove commands, along with the kde-desktop group ID:

sudo dnf group remove kde-desktop

Since your latest post I’ve been reluctant to try and possibly remove the Plasma desktop because I do really like and would rather use KDE than GNOME; all I really need that Plasma is missing is print-screen commands to the PrtSc key a version of which I found available in Cosmic; there must be a way of turning this key on and a way that shows the options that came on the “original” GNOME desktop? I quote the term “original” assuming that the Lenovo technician at London Drugs can give me a KDE stick that has the PrtSc key working as it does using GNOME. My idea of removing Plasma was to get another version of KDE that had the PrtSc working as it does in GNOME which it does not in Cosmic but works differently, as stated. Is there a way to turn this key on?

1 Like

I assume what you are referring to is a screenshot application that launches when the PrtSc key is pressed. By default, KDE Plasma uses Spectacle, so you can use this command to install the package:

sudo dnf install spectacle

After installing it, pressing the PrtSc key should immediately launch Spectacle and solve your issue.

1 Like

Thanks. That worked - which may be obvious to yourself. I sort of knew that it was as simple as something like that, subconsciously, what with my years in Linux. How did you know about the Spectacle package?

1 Like

I did not know about Spectacle until I had to learn about KDE Plasma due to this issue. I am more familiar with the GNOME and Xfce desktop environments instead.

1 Like

I’ve been with Gnome since I began my Linux journey after Windows 98 came out and wanted to try something new. Why didn’t Plasma add Spectacle by default?

1 Like

My interpretation of how you received a Fedora image with KDE Plasma to begin with was on a USB thumb drive from a third-party, so assuming no user error and/or misconfigurations during and/or after the install process, your installation medium and/or image may have been tampered with.

Actually, the stick had Gnome on it as I wanted Gnome at the time. Recently, particularly hearing about Plasma, I wanted to and did download it. Since downloading it I was likely headed to London Drugs to talk with a Lenovo rep and get a USB stick with a KDE version since I did so earlier with a Gnome version as this time I wanted to encrypt the entire hard drive, so it wasn’t tampered with; rather I installed with pretty much the same code you gave me to remove is. As a Wai Tan Kung master, my chi suggested there was a better, more simple way to accomplish the task than removing KDE Plasma reinstalling again.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.