Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

About an hour ago, I asked how I could set Gnome-shell as default desktop interface for Ubuntu replacing Unity, and I was advised to issue this command:

sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-shell

While this is related to that, it's a different question. Now, how do I set Unity back as default via command line?

share|improve this question

1 Answer 1

up vote 6 down vote accepted
sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu

sets Unity 3d as default.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.