Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I add gnome-shell to the regular Ubuntu Natty login screen along with "Ubuntu" "Ubuntu Classic", maybe as "User defined"?
When I pick the user name on login screen, at the bottom there is a drop-down to pick the session I want to start, I would like to add the gnome-shell I compiled myself to that list of options. Thanks

share|improve this question
up vote 2 down vote accepted

Ubuntu 11.04 includes most of what you need to do this. All you need to do is create a new file named /usr/share/xsessions/gnome-shell.desktop with this content:

[Desktop Entry]
Name=Ubuntu GNOME Shell Desktop
Comment=This session logs you into GNOME with GNOME Shell
Exec=gnome-session --session=gnome
share|improve this answer

Please be aware, if you install gnome-shell from the gnome3-team/gnome3 ppa, you will not be able to use Unity. You will have a profile called Gnome-shell which will enable you to login to the shell. So please think before you install from ppa. However, there are tutorials on this site on how to compile it from source, so that you can use both.

Hope this helps.

share|improve this answer
Yes, I have seen the PPA for gnome3 breaks Unity, that's why I compiled my gnome3 from git. unity is still working but the profile called Gnome-shell is not there when compiling it. – Mashimom May 2 '11 at 12:55

Your Answer


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

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