Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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  


sudo apt-get autoremove 

But the default log in screen is still kde.. and I can still boot into it. Also, the laptop doesn't even shutdown anymore, as soon as the computer seems to power off it just turns back on.. I am puzzled and would be grateful for help.

share|improve this question
@UriHerrera Actually, that question and answer are quite old. I don't think that works anymore, plus the OP installed kde-standard which is different from kubuntu-desktop which is what that question is about. – Seth Feb 14 '13 at 18:17
@Seth How different? – Uri Herrera Feb 14 '13 at 18:20
@UriHerrera Very different. kubuntu-desktop has waay more packages than kde-standard. – Seth Feb 14 '13 at 18:21
@Seth Wouldn't then removing the packages listed in the other question be an overkill for this one?. – Uri Herrera Feb 14 '13 at 18:23
@UriHerrera Uhm.. I did have a look about before asking. Please don't assume I am ignorant to searching and then continue post things which don't help at all. No need for the harsh tone. Thanks – Sudoscience Feb 14 '13 at 18:40
up vote 1 down vote accepted

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.


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.

share|improve this answer
Looks like it worked, just running autoremove now. Is the restarting problem I described a common one? I found it strange. – Sudoscience Feb 14 '13 at 18:29
@user132010 Can't tell at this point. It will depend on your hardware. – Seth Feb 14 '13 at 18:30
Just shutdown and it seems fixed. Thanks – Sudoscience Feb 14 '13 at 18:32
@user132010 That's great! If somehow that restarting problem crops back up, you should ask a new question about it :) – Seth Feb 14 '13 at 18:33
@Seth Not sure, but it would seem logical. If you first do an auto-remove, however, you might also remove packages that because of missing libraries have become obsolete. Can you find out? Can also give your source for your list of packages? Is it from – don.joey Feb 14 '13 at 19:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.