Wo liegen die Einträge?
In /usr/share/xsessions/ liegt für jeden Windows Manager bzw. Desktop Enviroment eine .desktop Datei.
Wie lege ich einen neuen Eintrag an?
Einfach eine Datei mit dem Editor öffnen, anpassen und unter dem gewünschten Namen speichern.
Wie ist die .desktop aufgebaut?
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Name der Session z.B. Fluxbox
Comment=Hier wird der Text eingetragen den GDM als Hinweis zeigt. z.B. Diese Session startet Fluxbox
Exec=Kommando das Ausgeführt wird z.B. startfluxbox
TryExec=startfluxbox
# no icon yet, only the top three are currently used
Icon=
Type=Application
Fluxbox
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=Fluxbox
Comment=This session logs you into Fluxbox
Exec=startfluxbox
TryExec=startfluxbox
# no icon yet, only the top three are currently used
Icon=
Type=ApplicationCode: Select all
[Desktop Entry]
Encoding=UTF-8
Name=xpde
Comment=This session logs you into XPDE
Comment[de]=Diese Sitzung meldet Sie an XPDE an
Exec=startXPDE
TryExec=startXPDE
# no icon yet, only the top three are currently used
Icon=
Type=Application
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=WAIMEA
Name[de]=WAIMEA
Exec=waimea
TryExec=waimea
# no icon yet, only the top three are currently used
Icon=
Type=Application
stolen from: http://forums.gentoo.org/viewtopic.php?t=214485
Code: Select all
[Desktop Entry]
Encoding=UTF-8
Name=KDE
Comment=This session logs you into KDE
Exec=/usr/kde/3.2/bin/startkde
TryExec=/usr/kde/3.2/bin/startkde
# no icon yet, only the top three are currently used
Icon=
Type=Application




