How to remove KDE Plasma Desktop on Ubuntu 20.04

Installed KDE Plasma desktop with

sudo apt install kde-plasma-desktop

Tried it for a few days and, while I liked it a lot, it's just not playing well with my current Ubuntu 20.04 installation.

eg.

  1. No screenshot app, hitting print screen does nothing
  2. Snap acting funny and can't be found through app launcher, have to run apps through terminal and pin them.
  3. $HOME/bin scripts aren't in PATH anymore for some reason
  4. And more..

Went back to Gnome and removed it with sudo apt remove --purge kde-plasma-desktop. But now I still have issues with 2 and 3.

How do I remove KDE plasma completely and restore my Gnome desktop to what it was?

PS.

Solutions here didn't work for me either.

  • How to remove KDE Plasma-Desktop?

Solution 1:

sudo apt remove plasma-desktop --autoremove
sudo apt remove kubuntu-desktop --autoremove
sudo apt-get remove kde* --autoremove
sudo apt-get remove plasma* --autoremove
sudo update-alternatives --config default.plymouth # select an option
sudo update-initramfs -u
sudo update-grub
sudo systemctl disable sddm
sudo systemctl stop sddm
sudo systemctl enable gdm3
sudo systemctl start gdm3
reboot