5

This is NOT a duplicate. The solution in How to remove all traces of KDE installed did NOT work, so please do not mark this as a duplicate (it ruined the last post I made). I am using Unity, but KDE is still available on the login screen. I have uninstalled it, and all of its programs, but it won't go away.

I did an installation of kde-full to try it, but I didn't like it and want to go back to just Unity.

Thanks in advance.

PS this installation is NOT Kubuntu.

UPDATE: KDE Plasma is still an option on the login screen, and choosing it opens a perfectly working KDE session. I have a 128GB SSD, so space is valuable.

UPDATE: KDevelop isn't that important. I don't have any custom configs, so if it gets deleted, I can reinstall it quickly.

  • Did you look in /usr/share/xsessions/? That's where the .desktop files for various logins are stored. –  Jan 12 '14 at 03:58
  • Aha! KDE is in there. It is a shortcut to /usr/bin/startkde. /usr/bin also has lots of other KDE files in it. – Andy Castille Jan 12 '14 at 04:18
  • List of KDE files in /usr/bin: http://paste.ubuntu.com/6736510/ (I installed KDevelop before KDE, I would like to keep that if possible.) – Andy Castille Jan 12 '14 at 04:27

6 Answers6

8

When I want to get rid of everything based on the KDE libraries (and, consequently, entirely remove KDE), I simply:

sudo apt-get remove --purge libkde*

(Before running the above command including the --purge option, make sure that you make a backup of the KDevelop config files.) If you want to keep KDevelop, as per your comment, then you can subsequently reinstall it.

sudo apt-get install kdevelop

There may be KDE-related bits on the system (I'm not sure about this), but you definitely won't have any extraneous apps based on the KDE libraries (other than KDevelop and its deps).

landroni
  • 5,941
  • 7
  • 36
  • 58
  • Dupe? Look at the first answer. Basically says "remove libs, install KDevelop" – Kaz Wolfe Jan 14 '14 at 22:16
  • @pacificfils Not as far as I go. That answer talks in broad terms, while I give here exact instructions on how to definitively remove KDE (and reinstate a specific app if so desired). – landroni Jan 14 '14 at 23:21
  • 1
    @pacificfils Glad for this comment, as I wouldn't know how to specifically do that. Running now, will update with results. – Andy Castille Jan 15 '14 at 01:23
  • It worked! KDE is no longer in the login menu, and I am now KDE free! I will award bounty in 1 hour, because it says I have to wait...? – Andy Castille Jan 15 '14 at 02:10
4

An KDE application you have still installed may depend on packages from the KDE environment. We can not remove all of KDE but keep single KDE applications.

In the case you mentioned in a comment it is expected to have a lot of KDE packages installed for being able to run KDevelop.

You can't remove it's dependencies without removing kdevelop first.

In addition you may have other application still which may also depend on KDE libraries.

Takkat
  • 142,284
2

I believe the answer you're looking for is in this question

Basically it tells you that you find the sessions (i.e. the login entries) defined in

/usr/share/xsessions
Fsando
  • 595
1

In theory, it is possible to run sudo apt-get purge kubuntu-desktop (note the purge) followed by sudo apt-get autoremove --purge (again, note the purge).

What this does is it removes kubuntu-desktop (which most if not all KDE packages depend on) and then purges all the files that depend/want kubuntu-desktop installed. This may remove kDevelop, however it is not hard to get back.

Kaz Wolfe
  • 34,122
  • 21
  • 114
  • 172
  • First command: not installed / not removed. Second command: removed some packages: "freespacenotifier* jovie* kdepasswd* kdm* kinfocenter* klipper* kmenuedit* libkprintutils4* libnepomukwidgets4* libokularcore3*" – Andy Castille Jan 15 '14 at 01:14
0

Try this: http://www.psychocats.net/ubuntu/pureubuntu

I hope it will help you, as it helped me.

0

Since kubuntu and ubuntu share many packages, I suggest these commands...

sudo apt-get remove kubuntu-desktop
sudo apt-get autoremove
sudo apt-get install ubuntu-desktop