5

Possible Duplicate:
How do I change the default session for when using auto-logins?

Any way to make gnome-shell as default window manager other than adding gnome-shell --replace' with in the startup application

Sreevisakh
  • 1,516

1 Answers1

6

By selecting gnome-shell at login from the drop down box pictured here: select gnome here

It should automatically be set to default for future logins until you select a different window manager.

If it doesn't automatically default the gnome-shell than you can edit /etc/lightdm/lightdm.conf and change

user-session=ubuntu

to

user-session=gnome

EDITED: to add how to change default manually.

Gary
  • 1,128
  • No. I have to set GNOME everytime i login I tried by removing unity Now i dont have a window manager no borders and menu :( – Sreevisakh Apr 15 '12 at 14:25
  • would you try sudo apt-get purge gnome-shell sudo apt-get install gnome-shell. You shouldn't have to remove unity to get it to set default. – Gary Apr 15 '12 at 14:53
  • i have unity-greeter I tried to reinstalling gnome-shell and another solution dbconf-editor also tried still it gets replaced by unity – Sreevisakh Apr 15 '12 at 14:55
  • try editing the /etc/lightdm/lightdm.conf and changing ubuntu to gnome in user-session=ubuntu, see if that works. May require a restart. – Gary Apr 15 '12 at 15:06