Ubuntu – How to remove leftover bits of kde-standard

desktop-environmentskde

I've been looking into different desktop environments, so I decided I'd give kde a try instead of the normal Unity. I installed kde through:

sudo apt-get install kde-standard 

Re-logged and everything went fine booted into KDE and had a look around. After a while, I wanted to uninstall it so I executed:

sudo apt-get remove --purge kde-standard  

then

sudo apt-get autoremove 

But the default log in screen is still kde.. and I can still boot into it.

Best Answer

Yes, when you install then uninstall desktop environments you get a lot of left overs.

Start by running:

sudo apt-get purge   akregator dragonplayer gwenview juk kaddressbook kamera kate kcalc
  kde-baseapps kde-baseapps-bin kde-plasma-desktop kde-standard kde-wallpapers
  kdeplasma-addons kdm kfind kmail knotes konq-plugins konqueror
  konqueror-nsplugins kopete kopete-message-indicator korganizer kscreensaver
  kscreensaver-xsavers kwalletmanager kwrite libcalendarsupport4
  libeventviews4 libgadu3 libgpgme++2 libgrantlee-core0 libincidenceeditorsng4
  libkateinterfaces4 libkdepim4 libkdepimdbusinterfaces4 libkdgantt2
  libkexiv2-11 libkexiv2-data libkleo4 libkmanagesieve4 libkonqsidebarplugin4a
  libkontactinterface4 libkopete4 libkpgp4 libksieve4 libksieveui4 libktnef4
  libmailcommon4 libmailimporter4 libmarblewidget14 libmediastreamer1
  libmessagecomposer4 libmessagecore4 libmessagelist4 libmessageviewer4
  libmsn0.3 libopenconnect2 libortp8 libotr2 libqgpgme1 libqoauth1 libsrtp0
  libtemplateparser4 libtidy-0.99-0 marble-data marble-plugins
  plasma-containments-addons plasma-dataengines-addons
  plasma-desktopthemes-artwork plasma-runners-addons plasma-wallpapers-addons
  plasma-widget-lancelot plasma-widget-networkmanagement plasma-widgets-addons
  polkit-kde-1 sweeper xscreensaver-data xscreensaver-gl

If you get any errors, thats usually a good sign.

Then:

sudo apt-get purge svgpart kdepim-kresources kde-plasma-netbook skanlite kleopatra spamassassin
  bogofilter spambayes bsfilter crm114 clamav procmail kdeartwork-emoticons
  texlive-latex-base libotr2-bin srtp-utils network-manager-vpnc  

Then try sudo apt-get autoremove again.

That should remove everything and put your computer pretty much back to the state it was in before you installed kde.

Related Question