I installed kubuntu-desktop just to experiment with its interface.
Then I decided to remove and did the traditional apt-get purge and autoremove
but it seems elements of kubuntu are still there.
For example interface elements, scrollbars, bootscreen etc are still there.
Is there any method I can completely remove without installing a fresh copy of ubuntu?
Best Answer
I would recommend you to use aptitude to do this operation, this will search the packages that would remove the KDE environment and leave Ubuntu's default:
This will search for any package that
kubuntu-desktop
depends to, but doesn't depends ofubuntu-desktop
. Also, this method is a bit greedy. It will remove Qt packages, ergo mplayer2, VLC and any package that depends on Qt libraries may be deleted. Add those packages with a plus sign (+) at the end, like ubuntu-desktop package in this case. For other flavors:Xubuntu
Lubuntu
Gnome
As you can see, only replace the last packages name with the name of your preferred to leave. If you used
kde-core
or other metapackages you should replace "kubuntu" with the name of the metapackage.Making sense of aptitude search
To explain exactly which package are selected, lets explain the search command more deeply: