Getting Back to a Pure KDE on Ubuntu

If you used aptitude to install other desktop environments, you will not need this tutorial, as you can just type

sudo aptitude remove ubuntu-desktop
or
sudo aptitude remove xubuntu-desktop
to get back to your "pure KDE."

If you didn't have as much foresight and chose instead to install Gnome or XFCE through Adept or apt-get, this is how to remove those desktop environments from your KDE.

Note, this applies only to Ubuntu Feisty. If you're using Edgy, go here. If you're using Dapper, go here.

Remove Ubuntu
Paste this command into the terminal:

sudo apt-get remove alacarte app-install-data-commercial apport-gtk at-spi binfmt-support bittorrent brltty-x11 bug-buddy capplets-data cdrecord cli-common compiz compiz-core compiz-gnome compiz-gtk compiz-plugins contact-lookup-applet dbus-1-utils dcraw deskbar-applet desktop-effects diveintopython doc-base docbook-xml ekiga eog esound espeak espeak-data evince evolution evolution-common evolution-data-server evolution-data-server-common evolution-exchange evolution-plugins evolution-webcal example-content f-spot feisty-gdm-themes feisty-session-splashes feisty-wallpapers file-roller firefox firefox-gnome-support gaim gaim-data gamin gcalctool gcc-3.3-base gconf-editor gconf2 gdebi gdebi-core gdm gedit gedit-common gimp gimp-data gimp-print gimp-python gksu gnome-about gnome-accessibility-themes gnome-app-install gnome-applets gnome-applets-data gnome-btdownload gnome-cards-data gnome-control-center gnome-cups-manager gnome-desktop-data gnome-doc-utils gnome-games gnome-games-data gnome-icon-theme gnome-keyring gnome-keyring-manager gnome-mag gnome-media gnome-media-common gnome-menus gnome-mime-data gnome-mount gnome-netstatus-applet gnome-nettool gnome-orca gnome-panel gnome-panel-data gnome-pilot gnome-pilot-conduits gnome-power-manager gnome-screensaver gnome-session gnome-spell gnome-system-monitor gnome-system-tools gnome-terminal gnome-terminal-data gnome-themes gnome-user-guide gnome-utils gnome-volume-manager gstreamer0.10-alsa gstreamer0.10-esd gstreamer0.10-gnomevfs gstreamer0.10-plugins-base gstreamer0.10-plugins-base-apps gstreamer0.10-plugins-good gstreamer0.10-tools gstreamer0.10-x gthumb gtk2-engines gtk2-engines-pixbuf gtk2-engines-ubuntulooks gtkhtml3.14 gucharmap guile-1.6-libs hal-device-manager human-cursors-theme human-icon-theme human-theme hwdb-client-gnome language-selector libaa1 libatspi1.0-0 libavahi-glib1 libavc1394-0 libbeagle0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libbrlapi1 libcaca0 libcairo-perl libcamel1.2-10 libcdio6 libcroco3 libcucul0 libdecoration0 libdjvulibre15 libdv4 libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6 libedataserver1.2-9 libedataserverui1.2-8 libeel2-2 libeel2-data libegroupwise1.2-13 libenchant1c2a libespeak1 libexchange-storage1.2-3 libgail-common libgail-gnome-module libgail18 libgamin0 libgconf2.0-cil libgda2-3 libgda2-common libgdiplus libgdl-1-0 libgdl-1-common libgimp2.0 libgksu1.2-1 libgksu2-0 libgksuui1.0-1 libglade2.0-cil libglew1 libglib-perl libglib2.0-cil libgmime-2.0-2 libgmime2.2-cil libgnome-desktop-2 libgnome-keyring0 libgnome-mag2 libgnome-media0 libgnome-menu2 libgnome-pilot2 libgnome-speech3 libgnome-window-settings1 libgnome2-0 libgnome2-canvas-perl libgnome2-common libgnome2-perl libgnome2-vfs-perl libgnome2.0-cil libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomecupsui1.0-1c2a libgnomekbd-common libgnomekbd1 libgnomekbdui1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-bin libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgtk2-perl libgtk2.0-cil libgtkhtml2-0 libgtkhtml3.14-19 libgtksourceview-common libgtksourceview1.0-0 libgtkspell0 libgtop2-7 libgtop2-common libgucharmap6 libguile-ltdl-1 libgutenprintui2-1 libhsqldb-java libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libiec61883-0 libkpathsea4 liblaunchpad-integration0 liblircclient0 liblpint-bonobo0 libmdbtools libmetacity0 libmono-cairo1.0-cil libmono-corlib1.0-cil libmono-corlib2.0-cil libmono-data-tds2.0-cil libmono-security2.0-cil libmono-sharpzip2.84-cil libmono-sqlite2.0-cil libmono-system-data2.0-cil libmono-system-web2.0-cil libmono-system1.0-cil libmono-system2.0-cil libmono0 libmono2.0-cil libnautilus-burn4 libnautilus-extension1 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libnet-dbus-perl libnm-glib0 libnotify1 libnspr4 libnss3 liboil0.3 liboobs-1-3 libopal-2.2.0 libpanel-applet2-0 libpisock9 libpisync0 libpoppler1-glib libpt-1.10.0 libpt-plugins-alsa libpt-plugins-v4l libpt-plugins-v4l2 libqthreads-12 librsvg2-2 librsvg2-common libscrollkeeper0 libservlet2.3-java libsexy2 libshout3 libslab0 libsoup2.2-8 libstdc++5 libtotem-plparser1 liburi-perl libvte-common libvte9 libwmf0.2-7 libwnck-common libwnck18 libwww-perl libxevie1 libxklavier11 libxml-parser-perl libxml-twig-perl libxml2-utils libxres1 metacity metacity-common mkisofs mono-common mono-gac mono-jit mono-runtime nautilus nautilus-cd-burner nautilus-data nautilus-sendto network-manager-gnome notification-daemon onboard openoffice.org openoffice.org-base openoffice.org-evolution openoffice.org-filter-mobiledev openoffice.org-gnome openoffice.org-gtk pkg-config python-at-spi python-bittorrent python-cairo python-gconf python-gdbm python-glade2 python-gmenu python-gnome2 python-gnome2-desktop python-gnome2-extras python-gnomecanvas python-gobject python-gst0.10 python-gtk2 python-gtkhtml2 python-launchpad-integration python-libxml2 python-notify python-numeric python-orca-brlapi python-pyorbit python-virtkey python-vte python-xml rdesktop restricted-manager rhythmbox rss-glx scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-tables-additional screensaver-default-images scrollkeeper serpentine sgml-data shared-mime-info software-properties-gtk sound-juicer ssh-askpass-gnome synaptic system-tools-backends tangerine-icon-theme tango-icon-theme tango-icon-theme-common tomboy totem totem-gstreamer totem-mozilla tsclient ubuntu-artwork ubuntu-desktop ubuntu-docs ubuntu-sounds update-manager update-notifier usplash-theme-ubuntu vino vnc-common whois xsane xsane-common xscreensaver-data xscreensaver-gl xsltproc xvncviewer yelp zenity && sudo apt-get install kubuntu-desktop

Remove Xubuntu
Paste this command into the terminal:

sudo apt-get remove abiword abiword-common abiword-plugins anthy app-install-data-commercial apport-gtk cdrecord dbus-1-utils doc-base docbook-xml evince-gtk example-content feisty-gdm-themes feisty-session-splashes feisty-wallpapers firefox gaim gaim-data gamin gcalctool-gtk gcc-3.3-base gconf2 gdebi gdebi-core gdm gimp gimp-data gimp-print gksu gnome-accessibility-themes gnome-app-install gnome-icon-theme gnome-keyring gnome-mount gnumeric-common gnumeric-gtk gqview gtk2-engines gtk2-engines-pixbuf gtk2-engines-ubuntulooks gtk2-engines-xfce gxine hal-cups-utils human-cursors-theme human-icon-theme human-theme language-selector libaa1 libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaiksaurusgtk-1.2-0c2a libanthy0 libchewing3 libchewing3-data libcroco3 libenchant1c2a libexo-0.3-0 libgail-common libgail18 libgamin0 libgdome2-0 libgdome2-cpp-smart0c2a libgimp2.0 libgksu2-0 libglib2.0-data libgnome-keyring0 libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgoffice-0-common libgoffice-gtk-0-3 libgsf-1-114 libgsf-1-common libgtkhtml2-0 libgtkmathview0c2a libgtkspell0 libgtop2-7 libgtop2-common libgutenprintui2-1 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libkpathsea4 liblaunchpad-integration0 liblircclient0 libnet-dbus-perl libnm-glib0 libnotify1 libnspr4 libnss3 liboobs-1-3 libots0 libpoppler1-glib librsvg2-2 librsvg2-common libscrollkeeper0 libsexy2 libstdc++5 libt1-5 libtagc0 libthunar-vfs-1-2 liburi-perl libvte-common libvte9 libwmf0.2-7 libwnck-common libwnck18 libwpd-stream8c2a libwww-perl libxfce4mcs-client3 libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4 libxklavier11 libxml-parser-perl libxml-twig-perl libxres1 mkisofs mousepad mozilla-thunderbird notification-daemon onboard orage python-cairo python-cups python-exo python-gconf python-gdbm python-glade2 python-gobject python-gtk2 python-gtkhtml2 python-launchpad-integration python-notify python-numeric python-pyorbit python-virtkey python-vte python-xml restricted-manager scim scim-anthy scim-chewing scim-gtk2-immodule scim-hangul scim-modules-socket scim-modules-table scim-pinyin scim-tables-additional scrollkeeper sgml-data shared-mime-info software-properties-gtk synaptic system-config-printer system-tools-backends tango-icon-theme tango-icon-theme-common thunar thunar-archive-plugin thunar-doc thunar-media-tags-plugin thunar-volman-plugin ubuntu-artwork update-manager vim-runtime vnc-common xarchiver xfburn xfce4-appfinder xfce4-battery-plugin xfce4-clipman-plugin xfce4-cpugraph-plugin xfce4-dict-plugin xfce4-fsguard-plugin xfce4-icon-theme xfce4-mailwatch-plugin xfce4-mcs-manager xfce4-mcs-plugins xfce4-mixer xfce4-mixer-alsa xfce4-mount-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-panel xfce4-quicklauncher-plugin xfce4-screenshooter-plugin xfce4-session xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-utils xfce4-verve-plugin xfce4-weather-plugin xfce4-xkb-plugin xfdesktop4 xfprint4 xfwm4 xfwm4-themes xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork-usplash xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-system-tools xvncviewer zenity && sudo apt-get install kubuntu-desktop

If you have suggestions or corrections for these tutorials, please post in this Ubuntu Forums thread or leave a comment on my blog.