PDA

View Full Version : [SOLVED] Gnome doesn't appear in the list of sessions at login!



compiz addict
July 31st, 2010, 06:28 PM
My problem:

When I get to the login screen on my computer (with ubuntu-desktop, kubuntu-desktop, and xubuntu-desktop installed on Ubuntu), Gnome isn't in the list of desktop environments!


My temporary solution:

I have Openbox/Gnome. I also have an icon in my panel that opens "compiz --replace" so I can still use the regular WM with compiz.


Why my temporary solution isn't good enough:

It's annoying to have to have an extra icon in my panel, and to have to press it at login. Also, I don't get the Compiz splash screen when I login. Overall it's just not as impressive.


Is there any way to get Gnome back in the menu?

compiz addict
August 4th, 2010, 07:20 PM
*bump*

cliffdodger
August 5th, 2010, 12:11 AM
This may vary depending on which login manager you're using and what window manager/login options you're trying to add but the basic idea is discussed in this thread:

http://ubuntuforums.org/showthread.php?t=18626

Hope that helps!

compiz addict
August 6th, 2010, 12:47 AM
Thanks for your reply, I found out that I can create my own session by making a .desktop file and putting it in "/usr/share/xsessions", with the .desktop file containing the following syntax:



[Desktop Entry]
Name=NameOfEnvironment
Comment=Short discription thing
Exec=/directory/of/executableFile
TryExec=/directory/of/executableFile
Icon=
Type=Application
X-Ubuntu-Gettext-Domain=csession-1.0

[Window Manager]
SessionManaged=true


And of course the executable file can be a regular file with #!/bin/bash at the beginning.

All this info was found here:
http://ubuntuforums.org/showthread.php?t=1494457

cliffdodger
August 12th, 2010, 11:41 PM
Hmmm, nice find. :) I'm bookmarking that.