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

I'm currently working on a stripped-down purpose-built custom desktop environment on top of Ubuntu. For most of the major Desktop Environments including GNOME or any DE you install after the fact (KDE, XFCE, etc...), they are added automatically to the list of available, optionable desktop environments for X11 when they're installed.

How would one go about manually adding a DE boot option for the list of available DE's in Ubuntu 12.10 or another version. I'm assuming this is part of the X11 config somewhere but i"m not seeing anything that is immediately apparent as the location for storing the available options...

I'd like to have to option to switch back to GNOME while I debug while developing the new DE so that I can actively develop it in GNOME, build, log off, choose my newly built DE as the DE to log into to test, etc...

Help much appreciated!

share|improve this question

migrated from Dec 29 '12 at 3:56

This question came from our site for system and network administrators.

Ubuntu use lightdm as login manager, which in turn use unity-greeter to setup/format the login screen.

unity-greeter check the following directory for available WM


unity-greeter check the following directory for list of user(other than guest) and last WM used


The logs of lightdm and unity-greeter are in


I will suggest you research systemd and dbus service.

share|improve this answer

Your Answer


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