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 Edgy. 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 apport-gtk at-spi binfmt-support bittorrent brltty-x11 bug-buddy capplets-data cli-common contact-lookup-applet dbus-1-utils deskbar-applet desktop-file-utils edgy-community-wallpapers edgy-gdm-themes edgy-session-splashes edgy-wallpapers ekiga eog esound evince evolution evolution-data-server evolution-data-server-common evolution-exchange evolution-plugins evolution-webcal f-spot festival festlex-cmu festlex-poslex festvox-kallpc16k file-roller firefox firefox-gnome-support gaim gaim-data gamin gcalctool gconf-editor gconf2 gdebi 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-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-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-utils gnome-volume-manager gnome2-user-guide gray-theme 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-ubuntulooks gtkhtml3.8 gucharmap guile-1.6-libs hal-device-manager human-cursors-theme human-gtk-theme human-icon-theme human-theme hwdb-client-gnome industrialtango-theme language-selector legacyhuman-theme libaa1 libatspi1.0-0 libavahi-glib1 libavc1394-0 libbeagle0 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libbtctl4 libcairo-perl libcamel1.2-8 libcdio6 libcroco3 libdbus-1-cil libdjvulibre15 libdv4 libebook1.2-9 libecal1.2-7 libedata-book1.2-2 libedata-cal1.2-6 libedataserver1.2-7 libedataserverui1.2-8 libeel2-2 libeel2-data libegroupwise1.2-12 libenchant1c2a libestools1.2 libexchange-storage1.2-2 libgadu3 libgail-common libgail18 libgamin0 libgconf2.0-cil libgda2-3 libgda2-common 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 libgnomebt0 libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomecupsui1.0-1c2a 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.8-15 libgtksourceview-common libgtksourceview1.0-0 libgtkspell0 libgtop2-7 libgtop2-common libgucharmap5 libguile-ltdl-1 libgutenprintui2-1 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libiec61883-0 libkpathsea4 liblaunchpad-integration0 liblircclient0 liblpint-bonobo0 libmeanwhile1 libmetacity0 libmono-cairo1.0-cil libmono-corlib1.0-cil libmono-data-tds1.0-cil libmono-security1.0-cil libmono-sharpzip0.84-cil libmono-sqlite1.0-cil libmono-system-data1.0-cil libmono-system-web1.0-cil libmono-system1.0-cil libmono0 libmono1.0-cil libmyspell3c2 libnautilus-burn4 libnautilus-extension1 libnet-dbus-perl libnotify1 libnspr4 libnss3 liboil0.3 liboobs-1-2 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 libsexy2 libshout3 libsoup2.2-8 libtotem-plparser1 liburi-perl libvte-common libvte9 libwmf0.2-7 libwnck-common libwnck18 libwww-perl libxevie1 libxklavier11 libxml-grove-perl libxml-parser-perl libxml-perl libxml2-utils libxres1 metacity metacity-common mono-common mono-gac mono-jit mono-runtime nautilus nautilus-cd-burner nautilus-data nautilus-sendto notification-daemon onboard openoffice.org-evolution openoffice.org-gnome openoffice.org-gtk openoffice.org-style-industrial outdoors-theme python-apport-utils python-at-spi python-cairo python-gconf python-gdbm python-glade2 python-gmenu python-gnome2 python-gnome2-desktop python-gnome2-extras python-gnomecanvas python-gnupginterface python-gobject python-gst0.10 python-gtk2 python-gtkhtml2 python-launchpad-integration python-numeric python-problem-report python-pyorbit python-virtkey python-vte python-xdg python-xml rdesktop resilience-theme rhythmbox rss-glx scim scim-gtk2-immodule scim-modules-socket screensaver-default-images serpentine shared-mime-info silicon-theme 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 unattended-upgrades update-manager update-notifier usplash-theme-ubuntu vino vnc-common whois xsane xsane-common xscreensaver-data xscreensaver-gl xsltproc xvncviewer yelp zenity

Remove Xubuntu
Paste this command into the terminal:

sudo apt-get remove abiword abiword-common abiword-plugins anthy app-install-data-commercial apport apport-gtk dbus-1-utils desktop-file-utils edgy-community-wallpapers edgy-gdm-themes edgy-session-splashes edgy-wallpapers evince-gtk firefox gaim gaim-data gamin gcalctool-gtk gconf2 gdebi gdm gimp gimp-data gimp-print gksu gnome-accessibility-themes gnome-app-install gnome-icon-theme gnome-keyring gnome-mime-data gnumeric-common gnumeric-gtk gqview gray-theme gtk2-engines gtk2-engines-ubuntulooks gtk2-engines-xfce gxine human-cursors-theme human-gtk-theme human-icon-theme human-theme industrialtango-theme language-selector legacyhuman-theme libaa1 libaiksaurus-1.2-0c2a libaiksaurus-1.2-data libaiksaurusgtk-1.2-0c2a libanthy0 libavahi-glib1 libbonobo2-0 libbonobo2-common libbonoboui2-0 libbonoboui2-common libchewing3 libchewing3-data libcroco3 libenchant1c2a libexo-0.3-0 libgadu3 libgail-common libgail18 libgamin0 libgdome2-0 libgdome2-cpp-smart0c2a libgimp2.0 libgksu2-0 libglib2.0-data libgnome-keyring0 libgnome2-0 libgnome2-common libgnomecanvas2-0 libgnomecanvas2-common libgnomecups1.0-1 libgnomeprint2.2-0 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common libgnomeui-0 libgnomeui-common libgnomevfs2-0 libgnomevfs2-common libgoffice-0-common libgoffice-gtk-0-3 libgsf-1-114 libgsf-1-common libgsf-gnome-1-114 libgtkhtml2-0 libgtkmathview0c2a libgtkspell0 libgtop2-7 libgtop2-common libgutenprintui2-1 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libkpathsea4 liblaunchpad-integration0 liblircclient0 libmeanwhile1 libmyspell3c2 libnet-dbus-perl libnspr4 libnss3 liboobs-1-2 libots0 libpoppler1-glib librsvg2-2 librsvg2-common libt1-5 libtagc0 libthunar-vfs-1-2 liburi-perl libvte-common libvte9 libwmf0.2-7 libwpd-stream8c2a libwww-perl libxfce4mcs-client3 libxfce4mcs-manager3 libxfce4util4 libxfcegui4-4 libxml-grove-perl libxml-parser-perl libxml-perl mousepad mozilla-thunderbird onboard orage outdoors-theme python-apport-utils python-cairo python-cups python-exo python-gconf python-gdbm python-glade2 python-gnupginterface python-gobject python-gtk2 python-gtkhtml2 python-launchpad-integration python-numeric python-problem-report python-pyorbit python-virtkey python-vte python-xdg python-xml resilience-theme scim scim-anthy scim-chewing scim-gtk2-immodule scim-hangul scim-modules-socket scim-pinyin shared-mime-info silicon-theme synaptic system-config-printer system-tools-backends tango-icon-theme tango-icon-theme-common thunar thunar-archive-plugin thunar-media-tags-plugin ubuntu-artwork ubuntu-sounds unattended-upgrades update-manager vim-runtime 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

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

I will not give help to people posting in the above places. If you require technical support, start a support thread on the Ubuntu Forums. That is the appropriate place to ask for help.