13

I want Ubuntu to always use Unity2D by default. I am using the latest version (12.04 LTS).

1
  • Does it not remember the last session, and start that automatically? Or are you saying you want to start 2d no matter which one you last used? There is some discussion on how to change the default here Jun 2, 2012 at 5:31

3 Answers 3

9

when logging in there is a symbol in the top right of the box (usually a ubuntu logo unless using something else) click on the logo and then click ubuntu 2D , if you dont change this , you will always log into unity 2d

7

To set the default for all users, you can use

sudo /usr/lib/lightdm/lightdm-set-defaults -s ubuntu-2d

or you can edit the file /etc/lightdm/lightdm.conf directly. See this documented version.

Per-user settings are stored in either $HOME/.dmrc or in /var/lib/AccountsService/users/$USER . According to this post, the latter file may overwrite your .dmrc.

1
  • Do you need to reboot for this to take effect? Aug 30, 2014 at 3:16
-2

Just log-in unity-2d, under System Settings -> User Account, unlock and enable Automatic Login.

My ubuntu 12.04 enables auto-login while installation. It auto-login last session I logged in.

1
  • 5
    This question is about making Unity2D the default session. Also enabling auto-login is not part of the question. Jun 2, 2012 at 18:47

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