How To Properly Remove LXDE And Install XFCE On Raspbian (Debian For Raspberry Pi)

Hello Linux Geeksters. As you may know, Raspberry Pi is an ARM single-board computer having the size of a credit card, created to help the users to understand a computer’s architecture and do basic programming.

The most popular ARM operating systems for Raspberry Pi are Raspbian (based on Debian Wheezy), Arch Linux and Pidora (based on Fedora).

How To Properly Remove LXDE And Install XFCE On Raspbian (Debian For Raspberry Pi)

In this article I will show you how to properly remove LXDE and install XFCE, on Raspbian (Debian Wheezy for Raspberry Pi).

Follow the below instructions exactly, in order to install XFCE on Raspbian.

Install XFCE4:

$ sudo apt-get install xfce4 xfce4-goodies

Remove all the LXDE related packages:

$ sudo apt-get remove lxappearance lxde lxde-* lxinput lxmenu-data lxpanel lxpolkit lxrandr lxsession* lxsession lxshortcut lxtask lxterminal

Due to the fact that LXterminal will also remove the Pi Store, install the pistore package back:

$ sudo apt-get install pistore

Because the default desktop environment has been removed, XFCE4 will be set by default, so you don’t have to do anything special.

Run autoremove and autoclean to remove the packages that are not needed anymore:

$ sudo apt-get autoremove
$ sudo apt-get autoclean

Now you are done. Reboot and choose XFCE4 from the display manager:

$ sudo reboot

Tagged with: , , , , ,
Posted in The Linux and Unix Articles!
3 comments on “How To Properly Remove LXDE And Install XFCE On Raspbian (Debian For Raspberry Pi)
  1. Lucas says:

    Hey, nice tutorial.I followed it and managed to get XFCE installed on my Pi 2.However, the desktop environment is rather ugly.Unlike in your screenshot, the taskbar is at the top, and doesn’t look like that, the wallpaper is just a big ugly Raspberry logo, and the windows don’t look that good (yours kind of look like KDE).Mine is like the default XFCE I had in my PC Debian Squeeze some time ago.

    What did you do to make it look that good?

    Thanks in advance.

  2. Benis in bagina says:

    Dear Lucas who will never see this,
    just play with the settings

  3. person personperson says:

    mine looks exactly like lxde but functions very slightly differently, i dont think that i have installed it (im a linux newbie)

Leave a Reply

Your email address will not be published. Required fields are marked *




Subscribe to get the latest Linux news and how to guides directly on your e-mail!