Apologies if this seems straight forward but I've recently downloaded XFCE to replace LXDE environment on my raspberry pi running raspbian.
I did this by using
sudo apt-get install xfce4
and following all the instructions.
Then to remove LXDE I carried out:
sudo apt-get --purge remove lxde sudo apt-get clean
My problem lies that whenever I run
it still opens and runs LXDE?
I know that I should be running startxfce4 if I simply want to use XFCE, but I want to know how to completely remove LXDE?
Edit: Also how do I modify the startx file so that I can choose (if both are installed) which desktop environment I want startx to run (either lxde or xfce)?