2008-12-08, 05:38
Here's how to add XBMC as a session type for your login manager (GDM, KDM, XDM, etc...)
Add the following to /usr/share/xsessions/xbmc.desktop
Add the following to /usr/bin/xbmc-session
Finally make the session script executable (chmod +x /usr/bin/xbmc-session), logout and select XBMC from your login manager's session list.
Add the following to /usr/share/xsessions/xbmc.desktop
Code:
[Desktop Entry]
Encoding=UTF-8
Name=XBMC
Comment=
Exec=/usr/bin/xbmc-session
Icon=
Type=Application
Add the following to /usr/bin/xbmc-session
Code:
#!/bin/bash
# add some initialization stuff here (if necessary)
xbmc --standalone
Finally make the session script executable (chmod +x /usr/bin/xbmc-session), logout and select XBMC from your login manager's session list.