Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had Xubuntu 14.04 beta 1 installed. Now I have installed ubuntu-desktop package but I see that there are still Xubuntu application icons, login screen, theme, boot screen etc.

How to completely remove them and configure the default Ubuntu things?

Will sudo apt-get remove xubuntu-desktop and sudo apt-get autoremove do?

share|improve this question
Some general concepts are given here: complete-concrete-concise.com/ubuntu-2/ubuntu-12-04/… So, removing xubuntu-desktop is only removing a metapackage (list of packages) and not the packages themselves. –  DK Bose Mar 20 '14 at 11:30

5 Answers 5

up vote 3 down vote accepted

It will be a long command, but here it is:

sudo apt-get remove abiword abiword-common abiword-plugin-grammar abiword-plugin-mathview alacarte bison blueman brltty-x11 catfish espeak exo-utils flex fonts-droid fonts-lyx gigolo gmusicbrowser gnome-system-tools gnome-time-admin gstreamer0.10-gnomevfs gthumb gthumb-data gtk2-engines-pixbuf indicator-application-gtk2 indicator-sound-gtk2 leafpad libabiword-2.9 libbison-dev libdigest-crc-perl libexo-1-0 libexo-common libexo-helpers libfl-dev libgarcon-1-0 libgarcon-common libgdome2-0 libgdome2-cpp-smart0c2a libglade2-0 libgnomevfs2-0 libgnomevfs2-common libgnomevfs2-extra libgsf-1-114 libgsf-1-common libgstreamer-perl libgtk2-notify-perl libgtk2-trayicon-perl libgtkmathview0c2a libgtkspell0 libido-0.1-0 libindicate-gtk3 libintl-perl libjpeg-progs libjpeg-turbo-progs libkeybinder0 liblink-grammar4 libloudmouth1-0 libnet-dbus-perl liboobs-1-5 libotr2 libots0 librarian0 libsexy2 libtagc0 libthunarx-2-0 libtidy-0.99-0 libtie-ixhash-perl libtumbler-1-0 libunique-1.0-0 libvte-common libvte9 libwv-1.2-4 libxfce4ui-1-0 libxfce4ui-utils libxfce4util-bin libxfce4util-common libxfce4util6 libxfcegui4-4 libxfconf-0-2 libxml-parser-perl libxml-twig-perl libxml-xpath-perl lightdm-gtk-greeter link-grammar-dictionaries-en m4 orage parole pastebinit pavucontrol pidgin pidgin-data pidgin-libnotify pidgin-microblog pidgin-otr plymouth-theme-xubuntu-logo plymouth-theme-xubuntu-text python-configobj rarian-compat ristretto screensaver-default-images scrollkeeper shimmer-themes system-tools-backends tcl8.5 thunar thunar-archive-plugin thunar-data thunar-media-tags-plugin thunar-volman ttf-droid tumbler tumbler-common xbrlapi xchat xchat-common xfburn xfce-keyboard-shortcuts xfce4-appfinder xfce4-cpugraph-plugin xfce4-dict xfce4-indicator-plugin xfce4-mailwatch-plugin xfce4-netload-plugin xfce4-notes xfce4-notes-plugin xfce4-notifyd xfce4-panel xfce4-places-plugin xfce4-power-manager xfce4-power-manager-data xfce4-quicklauncher-plugin xfce4-screenshooter xfce4-session xfce4-settings xfce4-systemload-plugin xfce4-taskmanager xfce4-terminal xfce4-verve-plugin xfce4-volumed xfce4-weather-plugin xfce4-xkb-plugin xfconf xfdesktop4 xfdesktop4-data xfwm4 xscreensaver xscreensaver-data xscreensaver-gl xubuntu-artwork xubuntu-default-settings xubuntu-desktop xubuntu-docs xubuntu-icon-theme xubuntu-wallpapers && sudo apt-get install ubuntu-desktop
share|improve this answer
Where did you get the command (All the packages)? –  Archisman Panigrahi Mar 20 '14 at 11:03
Here: psychocats.net/ubuntu/pureubuntu –  Frantique Mar 20 '14 at 11:03
This command is version-dependent. Please note that the command has not updated for since 12.10: ubuntuforums.org/showthread.php?t=416802&p=12695426. OP has asked about 14.04. –  DK Bose Mar 20 '14 at 11:21
I have edited it and now it is working perfectly. –  Archisman Panigrahi Mar 20 '14 at 16:41
@ArchismanPanigrahi Just to ensure: you did update it for Xubuntu 14.04 and not some other version? –  Tuukka Mustonen May 26 '14 at 11:24

Best way to do this is to open up /var/log/apt/history.log (or history.log.[n].gz) and find the command you ran to install xubuntu-desktop. There's a list of packages there that were specifically installed due to this command. You can run sudo apt-get remove with the packages here, and then sudo apt-get install ubuntu-desktop to restore your system to the earlier state.

share|improve this answer
Perfect solution, as it does not get out of date. A little tedious but works flawlessly. (If you write a script to extract the package names, you also have a little puzzle to solve ;) ) –  Lars Nov 25 '14 at 17:09
Thanks for this suggestion, worked perfect for me too –  qrazi Dec 16 '14 at 21:24

Here's a suggestion to make the solution suggested by Fabian a little easier:

On a chrome or firefox console put the full text of the packges

var u = 'HERE'.match(/[\w-.]+(?=:)/g)


u.join(' ')

presto, you've got the packages to put in your "apt-get remove" command

Sorry dont have enough reputation to comment yet

share|improve this answer

Try using tasksel. You should be able to change your config.

sudo apt-get install tasksel
sudo tasksel

Uncheck Xubuntu desktop and check Ubuntu desktop.

share|improve this answer
How to uncheck it? –  Archisman Panigrahi Mar 20 '14 at 16:02
You press space to check/uncheck an option. Checked items are marked with an asterisk in the square [ ] box –  somoso Oct 7 '14 at 18:40

for removing on Ubuntu 14.10:

sudo apt-get remove xubuntu-desktop leafpad desktop-base:amd64 gnumeric:amd64 libxfce4util-bin:amd64 brltty-x11:amd64 libxfce4ui-2-0:amd64 mugshot:amd64  xfce4-power-manager-data:amd64  hddtemp:amd64  gmusicbrowser:amd64 plymouth-theme-xubuntu-logo:amd64  xfce4-verve-plugin:amd64 xscreensaver-data:amd64  libabiword-3.0:amd64  libchamplain-gtk-0.12-0:amd64 liboobs-1-5:amd64  menulibre:amd64  abiword:amd64  xubuntu-desktop:amd64  leafpad:amd64 libexo-1-0:amd64 orage:amd64 xfce4-power-manager:amd64 gnumeric-common:amd64 xfce4-netload-plugin:amd64 gnome-icon-theme-full:amd64  python3-psutil:amd64 xfce4-whiskermenu-plugin:amd64  orion-gtk-theme:amd64 xfce4-systemload-plugin:amd64  libxfce4ui-common:amd64  xfce4-volumed:amd64  xfce4-mailwatch-plugin:amd64  libgstreamer-perl:amd64 libxfce4ui-1-0:amd64  thunar-archive-plugin:amd64 xfce4-session:amd64 xscreensaver:amd64 inxi:amd64 lightdm-gtk-greeter:amd64  libvte9:amd64  libkeybinder0:amd64 xfce4-places-plugin:amd64 libtumbler-1-0:amd64 libexo-common:amd64  gnome-desktop-data:amd64 abiword-plugin-grammar:amd64  xubuntu-artwork:amd64  gnome-system-tools:amd64  libotr5:amd64  xfconf:amd64 libots0:amd64 libxfce4ui-utils:amd64  xfburn:amd64 thunar-media-tags-plugin:amd64 xfce4-xkb-plugin:amd64 xfce4-quicklauncher-plugin:amd64 gtk-theme-config:amd64 gnome-themes-standard-data:amd64  libxfconf-0-2:amd64 plymouth-theme-xubuntu-text:amd64 abiword-plugin-mathview:amd64 xfce4-indicator-plugin:amd64 blueman:amd64  catfish:amd64 parole:amd64  python-psutil:amd64 gnumeric-doc:amd64  pidgin-otr:amd64 apt-offline:amd64  thunar-data:amd64 libgarcon-common:amd64 ristretto:amd64 xfce4-appfinder:amd64  espeak:amd64 pastebinit:amd64 light-locker:amd64  xubuntu-community-wallpapers:amd64 xfdesktop4-data:amd64  xfce4-settings:amd64 xfce4-screenshooter:amd64 xfce4-cpugraph-plugin:amd64 abiword-common:amd64  libxfce4util-common:amd64  libwv-1.2-4:amd64 libgdome2-0:amd64 libgoffice-0.10-10-common:amd64 xubuntu-default-settings:amd64 lm-sensors:amd64 libgtk2-notify-perl:amd64 tumbler-common:amd64 xfce4-power-manager-plugins:amd64 libxfcegui4-4:amd64 xubuntu-docs:amd64 thunar-volman:amd64 bluebird-gtk-theme:amd64 libgarcon-1-0:amd64 xfce4-notes:amd64 libexo-helpers:amd64 libvte-common:amd64 liblink-grammar4:amd64 exo-utils:amd64 libgtksourceview2.0-0:amd64 shimmer-themes:amd64 python3-pexpect:amd64 libdigest-crc-perl:amd64 libgoffice-0.10-10:amd64 libloudmouth1-0:amd64 mousepad:amd64 libthunarx-2-0:amd64 xfwm4:amd64 xfce4-notes-plugin:amd64 tumbler:amd64 xfce4-weather-plugin:amd64 system-tools-backends:amd64 xfce4-dict:amd64 libchamplain-0.12-0:amd64 xfdesktop4:amd64 libgdome2-cpp-smart0c2a:amd64 xubuntu-icon-theme:amd64 xfce4-panel:amd64 xfce4-terminal:amd64 xfce4-notifyd:amd64 thunar:amd64 libgtk2-trayicon-perl:amd64 pavucontrol:amd64 libgtkmathview0c2a:amd64 link-grammar-dictionaries-en:amd64 libgtksourceview2.0-common:amd64 xubuntu-wallpapers:amd64 gnome-themes-standard:amd64 libxfce4util6:amd64 gigolo:amd64 light-locker-settings:amd64  libtagc0:amd64 xfce4-taskmanager:amd64 greybird-gtk-theme:amd64
share|improve this answer

protected by Community Mar 25 at 11:36

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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