2

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?

10
  • 1
    Did you try sudo apt install --reinstall lubuntu-desktop ?
    – Mark Kirby
    Commented Oct 3, 2017 at 15:34
  • Will I get back all the default applications?.(I dont need Abi word and gnumneric anyway) Commented Oct 3, 2017 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
    Commented Oct 3, 2017 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
    Commented Oct 3, 2017 at 15:41
  • 2
    If you want to reset user config defaults, just rename ~/.config folder. Don't delete it, because you may revert changes.
    – Redbob
    Commented Oct 3, 2017 at 16:46

1 Answer 1

5

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .