Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

migrated from serverfault.com Dec 29 '12 at 3:56

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

1 Answer

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

/usr/share/xsessions

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

/var/lib/AccountsService/users

The logs of lightdm and unity-greeter are in

/var/log/lightdm

I will suggest you research systemd and dbus service.

share|improve this answer
add comment

Your Answer

 
discard

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