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 would like to add a new session to the login screen (the thing where you select "Ubuntu, Ubuntu Classic, etc" to install a new GUI on. How can I do this?

share|improve this question
    
This answer and another answer may help you. –  Takkat Jul 26 '11 at 6:38
add comment

1 Answer 1

up vote 8 down vote accepted

The list on the logon screen is populated from the desktop files in the folder /usr/share/xsessions

The format of these files are similar - here is the Unity-2D desktop file

[Desktop Entry]
Name=Ubuntu Classic (No effects)
Comment=This session logs you into GNOME with the traditional panel without any 
graphical effect.
Exec=gnome-session --session=2d-gnome
TryExec=gnome-session
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=gnome-session-2.0

All the files are root:root owned.

Creating or deleting desktop files in this folder creates or removes an entry in the drop-down list respectively.

source

share|improve this answer
    
That's exactly what I needed; thanks. –  TreefrogInc Jul 26 '11 at 14:43
add comment

Your Answer

 
discard

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.