0

I was trying out xfce in my Lubuntu 16.04 PC. I installed it, used it for a while and liked it. So, I thought I can remove LXDE and use only Xfce. I used some commands I found in the web and I ended up losing some packages of LXDE, but I couldn't remove them all. I also searched software centre for LXDE and removed some packages containing the name lxde. (but not all).

After using xfce for some time I realised that it was slower than LXDE. So I logged into LXDE and uninstalled xubuntu-desktop via command line. Now some packages in LXDE are missing like the package for changing desktop settings and the app for checking for updates. I don't know how many packages I removed from LXDE. sudo apt-get install -f does not show any errors. What I want is to completely reinstall LXDE (using alt+F1 screen) and reset LXDE settings to default values. How do I do it? Is sudo apt-get install lubuntu-desktop enough for reinstall?

  • 1
    Did you try sudo apt install --reinstall lubuntu-desktop ? – Mark Kirby Oct 3 '17 at 15:34
  • Will I get back all the default applications?.(I dont need Abi word and gnumneric anyway) – New to Ubuntu Oct 3 '17 at 15:37
  • Yes, this reinstall the whole lubuntu desktop, not just lxde and also take in to account that you have some of it installed already. – Mark Kirby Oct 3 '17 at 15:40
  • Better is apt-get remove --purge lubuntu-desktop, after that, sudo apt --no-install-recommends install lubuntu-desktop. It will not install these additional software – Redbob Oct 3 '17 at 15:41
  • 1
    If you want to reset user config defaults, just rename ~/.config folder. Don't delete it, because you may revert changes. – Redbob Oct 3 '17 at 16:46
4

To get back all the parts LXDE/Lubuntu you had removed, you can perform a reinstall with this command

sudo apt install --reinstall lubuntu-desktop

This will reinstall all the parts of the default Lubuntu desktop.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.