PDA

View Full Version : Proper .xsession startup


mklein49
2009-03-12, 02:54
I'm starting up xbmc with X. But, I just did an update and build with svn and now xbmc will not start properly with my settings if I include "-p"

Here are my existing settings? What do the commandline arguments mean? And what should I likely be setting them too? Also, should I be export XBMC_HOME?

Thanks

export XBMC_PLATFORM_MODE=1
/usr/share/xbmc/xbmc.bin -q -p --standalone
case "$?" in
0 ) # Quit
touch /tmp/noRestartXBMC
break ;;
64 ) # Shutdown System
sleep 10 ;;
65 ) # Warm Reboot
echo Restarting XBMC ... ;;
66 ) # Reboot System
sleep 10 ;;
* ) ;;
esac

olympia
2009-03-12, 09:27
I'm starting up xbmc with X. But, I just did an update and build with svn and now xbmc will not start properly with my settings if I include "-p"

Here are my existing settings? What do the commandline arguments mean? And what should I likely be setting them too? Also, should I be export XBMC_HOME?

Thanks



From SVN18398 platform mode is defaulted, so no need to set this any more.
Additionally -p means portable now, instead of platform so it has to remove from the options.

Properly:

/usr/share/xbmc/xbmc.bin -q --standalone
case "$?" in
0 ) # Quit
touch /tmp/noRestartXBMC
break ;;
64 ) # Shutdown System
sleep 10 ;;
65 ) # Warm Reboot
echo Restarting XBMC ... ;;
66 ) # Reboot System
sleep 10 ;;
* ) ;;
esac

@topfs2
Could you please explain a little bit more on what portable exactly means?
I guess if it is set, then xbmc is looking for userdata in the folder where it is run from, instead of ~/.xbmc. IS that correct?

Thanks!

lens
2009-05-02, 12:17
Arg - I had exactly the same problem - took me ages to sort out.

Removed "-p" and works perfectly!

Thanks so much!

topfs2
2009-05-02, 12:24
...
@topfs2
Could you please explain a little bit more on what portable exactly means?
I guess if it is set, then xbmc is looking for userdata in the folder where it is run from, instead of ~/.xbmc. IS that correct?

Thanks!

Yup, it's correct. It will work like on the XBox.

Portable refers to that it all is at the same place so you could have XBMC on your thumbdrive and every setting, and the executables run from the same place. Like miranda im is, or was if they have changed it :)

ronie
2009-05-02, 16:48
Speakin of, does anyone know what the '-q' option does?