Not swap but remove multiple desktop environments safely in one go

I was experimenting with different DEs.

I started with the Fedora Cinnamon spin
I tested:
GNOME
GNOME Classic
KDE
Deepin

And have decided to stick with GNOME and the Dash to panel addon.

How do I do about safely removing all the non GNOME environments whilst keeping my login manager and system bootable.

A cursory google search suggests

dnf swap

for moving between 2 environments.

But I want to delete:
Ratpoison (basic-desktop-environment)
Cinnamon
KDE
Deepin

Not switch.

Solution was in my case:
Switch login managers

sudo systemctl disable lightdm
sudo systemctl enable gdm

simply removing them a la:

sudo dnf remove "@KDE Plasma Workspaces" "@Deepin Desktop" "@Basic Desktop" "@Cinnamon Desktop"                                                                                                                                                             

Then reinstalling thunderbird

1 Like