I've install LXDE on my laptop due to Unity's disappointing performance. But now, I want to completely remove LXDE including it's entire list of programs that came installed with it. How do I go about doing so?
In a Terminal type:
That'll do it.
or Open up the Software Center and look for the package
Removing the metapackage will only remove some stuff, but not all. You have to individually remove all the programs LXDE came with. I followed the up-voted comment above about using apt-get. But afterward, I still had pcmanfm, openbox stuff, lxterminal etc.
The best instructions I found are at: http://www.psychocats.net/ubuntu/puregnome
Follow the commands for removing Lubuntu.
I would go through
I realize this is an old question, but still relative to whomever stumbles across it.
In the following, replace PACKAGENAME with your package.
Make a BACKUP!
Before trying anything below, TRY THIS FIRST:
If this worked you don't need the rest.
The most thorough, method I've ever come up with to completely remove a package PLUS its dependencies PLUS all configs including those configs of dependencies and do a little housecleaning is this:
The following procedures can remove things you might still want/need. If that happens you'll definitely notice and should be able to just reinstall them as needed. Make a BACKUP!
Also pay close attention to what is listed to be removed before pressing "Y"
With all of these you can simulate what will happen by adding --simulate or -s before purge like so:
STEP ONE: purge the main package (this isn't needed if you ran --purge autoremove above):
STEP TWO: Choose what else to purge...
Option 1: Purge the Depends AND Recommends (kinda dangerous):
Option 2: Purge ONLY the Depends (not as dangerous):
Option 3: Purge everything (most dangerous):
STEP THREE: Clean up:
I do this anytime I add a "DE" and want to go back. Just recently I used this on GNOME and it even fixed the fact that only purging Gnome with autoremove after will still left my GRUB changed as well. This works especially well for meta packages. I run the last command "sudo apt-get -f install" at the end to check for possible broken packages and fix them after making so many changes all at once.
If you've ran apt-get install lubuntu-desktop to add the packages then you'll need do the following because just purging lubuntu-desktop and running an autoremove doesn't completely remove everything and leaves you with, still, a "Lubuntu" option in your display manager at login:
If you've ran apt-get install lxde to add the package and had problems with remaining packages even after autoremove as seen with lubuntu-desktop you can run the same commands as above but replace "lubuntu-desktop" with "lxde" but I can't confirm this is needed.
I extended on enzotib's solution to get a one-liner to remove all the packages I had installed from a specific day (2015-05-12)
Awkish, but worked well.
Also, if you still have the LXDE option at login, run the following two commands in your terminal