How can I delete GNOME as my secondary Desktop Environment?

When I was installing EndeavourOS I made a mistake of selecting two Desktop Environments: KDE (My main one) and GNOME. Is there a way of deleting GNOME without re-installing the whole distribution?

pacman -Runs gnome ? But check the list before blindly just hitting Y for any packages you might need

2 Likes

Uhh, now that I restarted my PC it won’t load kde for some reason. I’m just met with default arch terminal. Is there a way to launch kde from that?

Were you using GDM?

Try:

sudo systemctl enable --now sddm

I don’t think so. Is there a way to check? By the way, after I run this command it just stays in progress forever

what do you get if you pacman -Qs sddm?
and
systemctl status display-manager

Sorry but I’m a complete noob in Arch so I have no idea it’s GDM or something else

You uninstalled gdm so it doesn’t really matter at this point.

Try rebooting if that command hung.

IMG_20221007_222620

As for the second command it says that display-manager.service could not be found

Try just enabling it without starting it.

sudo systemctl enable sddm

IMG_20221007_223206

just delete that symlink and run the enable command again
sudo rm /etc/systemd/system/display-manager.service
systemctl enable sddm

Is it okay that the rm command takes long to complete? Right now it’s just frozen in process or something

Oh, fixed now. It says that symlink was created. What do I do now?

You can try starting the service
systemctl start sddm
or reboot

Reboot

Uhm, when I ran the command it booted Gnome? How’s that possible if I deleted it?

Ah, thankfully I can still choose plasma. But how gnome is still not deleted?

what does pacman -Qs gnome say?