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).
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.
$ 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