14

I have installed the Plasma 5.6 desktop over Unity to give a try, but I don't really like it and I want to completely remove Plasma 5.6 and restore Unity.

Zanna
  • 70,465
ASO
  • 343

2 Answers2

30

Removing a desktop environment completely is never recommended, since it can break packages that Ubuntu or other DEs depend on. In fact, it's not really recommended that you install a second DE in the first place. If you install a DE, you should really be prepared to either reinstall Ubuntu or just keep the DE installed.

You can use the command below to remove most/all of the Kubuntu/Plasma/KDE packages. Please keep in mind that things can break.

sudo apt-get purge '^kde' '^kubuntu' '^plasma'
Zanna
  • 70,465
TheWanderer
  • 19,395
  • 12
  • 50
  • 65
  • 1
    Thanks a lot. It removed the plasma desktop from the login screen, however still some kde native apps are still installed. Also the Kubuntu splash screen while restarting it's still displaying. Any idea how to deal with this? Thanks. – ASO Sep 24 '16 at 16:34
  • Try sudo dpkg-reconfigure lightdm, selecting lightdm when prompted. For the leftover apps, you need to remove those manually. – TheWanderer Sep 24 '16 at 16:36
  • 1
    That command did not, however I hae used the following: sudo update-alternatives --config default.plymouth sudo update-initramfs -u and it worked. Thanks a lot. – ASO Sep 24 '16 at 17:04
  • As you said.... things are broken and therefore I think I have to reinstall all of it again... ;-( – ASO Sep 24 '16 at 17:06
  • 1
    you might want to add '^akonadi' to this – neuron Jan 13 '19 at 18:52
1

I used Synaptic package manager and typed KDE , went to the installed apps in the sidebar ,marked everything KDE and completely removed them . Lost KDE connect , but i can install it again . It's not very profissional , but it did the job. Hope it helps .