0

Based on Switching window manager/desktop environments?, I installed gnome-desktop and lubuntu-desktop &c, but now I want to get rid of this bloat and just keep ubuntu-desktop.

What do I need to do to remove the desktop environment icon next to the user name from the login screen??

enter image description here

sds
  • 2,543

1 Answers1

1

To get rid of this bloat and just keep ubuntu-desktop try this:

Open a terminal,

Press Ctrl+Alt+T

Run it:

exec sudo -i
apt-get update
apt-get install --reinstall aptitude deborphan
aptitude remove '?and(?reverse-depends(lubuntu),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'
aptitude remove '?and(?reverse-depends(gnome),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'
apt-get install --reinstall ubuntu-desktop
deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)
apt-get autoremove
apt-get clean
reboot
kyodake
  • 15,401
  • Looks radical! However, the aptitude remove '?and(?reverse-depends(lubuntu),?not(?reverse-depends(?exact-name(ubuntu-desktop))))' command suggested removing bzr, gimp and 600+ other packages, which is definitely not what I had in mind. – sds Jun 06 '16 at 01:03
  • It is that all packets that are not default in Ubuntu are removed. – kyodake Jun 06 '16 at 18:58