> See > http://src.opensolaris.org/source/xref/xfce/spec-files-xfce/trunk/OSOLxfce-loginmgr.spec > for example. This adds xfce to the login menu. > Note: there is difference between adding to the dtlogin > menu and to the gdm menu. > See also > http://src.opensolaris.org/source/xref/jds/spec-files/trunk/SUNWgnome-dtlogin-integration.spec
GDM makes use of desktop files in /usr/share/xsessions for defining a new session, and specifying the command that should be used to start the session. These desktop files follow the standard FreeDesktop specification for Desktop files, and are fairly simple and should look like this: [Desktop Entry] Encoding=UTF-8 Name=Name of session Comment=Comment describing the session Exec=/usr/bin/cmd-to-run TryExec=/usr/bin/cmd-to-run Type=Application They get a bit more complicated if you want to provide translated strings for Name and Comment. Refer to the ones installed to /usr/share/xsessions for examples. Brian
