How to completely remove LXDE and XFCE?

11 respuestas [Último envío]
ssdclickofdeath
Desconectado/a
se unió: 05/18/2013

I installed both while testing Desktop enviroments and not want them completely removed, but this task seems harder than I thought.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Take a look at this post and replace "triskel" with the meta-packages you installed.

ssdclickofdeath
Desconectado/a
se unió: 05/18/2013

Thank You, that worked!

In this forum software, how do you hide URLs behind text? For example, how did you make "this post" a link?

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Basic HTML markups work: a, em, cite, code, etc.

mYself
Desconectado/a
se unió: 01/18/2012

All the required information is described on this page.

lembas
Desconectado/a
se unió: 05/13/2010

However you should avoid doing that because I believe there is a bug in the mailing list integration and such "hidden" links are lost there.

onpon4
Desconectado/a
se unió: 05/30/2012

Another reason to avoid it: the forum software causes those links to break if they have underscores (it adds and to the link, breaking it). This is because of the forum software trying to add in an underline effect when underscores are wrapped around some text.

Dave_Hunt

I am a member!

Desconectado/a
se unió: 09/19/2011

I read this forum as a mailing list, and miss many links.

mYself
Desconectado/a
se unió: 01/18/2012

In theory, when you install a package that depends on some additional packages (even if not), APT calls a sub-process called apt-mark, which marks all the user selected packages as "manually installed", while all the dependencies are marked as "automatically installed". Therefore, if you remove some previously (manually) installed packages, you can use the command

sudo apt-get autoremove

to remove all remaining dependencies that was automatically installed, and are no longer required. You can use one of the following commands

  • apt-mark showmanual

    outputs all the manually installed packages

  • apt-mark showmanual|grep lxde

    filters the output, showing only packages containing the term lxde

  • apt-mark showmanual|more

    outputs one screen at a time

  • apt-mark showmanual &> manual.pkg
  • outputs everything into a file

to help you choose/remember which LXDE/XFCE meta-packages was previously installed.

ssdclickofdeath
Desconectado/a
se unió: 05/18/2013

Do you mean sudo apt-get autoremove lxde(or xfce4)?

Dave_Hunt

I am a member!

Desconectado/a
se unió: 09/19/2011

It's just
sudo apt-get autoremove

Do it after you've removed lxde and xfce.

ssdclickofdeath
Desconectado/a
se unió: 05/18/2013

GNU's Not Unix!

print "Hello, World!"

I am practicing my markup skills.