2008-10-09, 17:26
tomsun Wrote:Or just go to session, and make a new entry. Browse to the binary. And it will start when you login or have autologin
--
/t
mmm, did that, but xbmc starts always in a minimized window in the upper left corner ??
tomsun Wrote:Or just go to session, and make a new entry. Browse to the binary. And it will start when you login or have autologin
--
/t
onderduiker Wrote:mmm, did that, but xbmc starts always in a minimized window in the upper left corner ??
Chaos_666 Wrote:Hi there
Great Howto, thats exactly how i solved this problem, before there was this howto.
But what happens if you press the Off Button on the remote or shuts it down via menu?
Here it quits xbmc but stays in X?!
Anyone knows a solution for that?
THX
Chaos
#!/bin/bash
exec /usr/bin/xbmc --standalone
mingetty
--> logs in
--> bash executes
--> .bashrc runs
startx executes .xinitrc and runs until .xinitrc quits*
Quote:exec
... it replaces the shell without creating a new process ...
#!/bin/sh
echo command1
exec echo command2
echo command3
rbuckland@itasca:~$ sh test
command1
command2
#!/bin/bash
exec /usr/bin/xbmc --standalone
#!/bin/bash
/usr/bin/xbmc --standalone
#!/bin/bash
while [ 1 ]
do
/usr/bin/xbmc --standalone
done
twood Wrote:Thank you guys for these excellent guides.
Anyone has a solution to powedown or suspend the system when quit from xbmc standalone?
Topfs2 Wrote:Just choose which action you want to trigger in Settings -> System
XBMC Live (xbmc --standalone) will default to Shutdown of system.
Usually Suspend is rather hard to get going if you have a Nvidia or ATI due to bad drivers. Intel works rather good for me.
Cheers,
Tobias
Chaos_666 Wrote:Hi there
Guess twood is not using XBMC Live.
He ran into the same problem i mentioned above.
Hopefully someone has a solution for that, as it is nearly the last annoying thing on my HTPC
THX
Chaos
twood Wrote:Yes I'm not running Live, I have ubuntu 8.04 installed and I followed the guide to make it start directly to XBMC standalone.
Unfortunatelly when choosing the option to shutdown, the system will not do anything no matter what my settings are (shutdown/suspend). If i choose to restart XBMC it will just drop to the console.
There is a away to perform a normal restart as already decribed here in this thread, but the thing is that I would love to be able to shutdown XBMC running in standalone mode.
Topfs2 Wrote:Sounds like dbus is failing for you. Could you provide a debug log.
If you start with xbmc --standalone (as the guide suggest?)
Then it should shutdown, do you have anything printed to console?
Cheers,
Tobias.
23:33:11 T:3067770720 M:1057349632 DEBUG: OnMessage : Translating XBMC.ShutDown()
23:33:11 T:3067770720 M:1057349632 DEBUG: OnMessage : To XBMC.ShutDown()
23:33:11 T:3067770720 M:1057177600 ERROR: DBus: org.freedesktop.Hal.Device.PermissionDeniedByPolicy - org.freedesktop.hal.power-management.shutdown no <-- (action, result)
23:33:12 T:3067770720 M:1057161216 DEBUG: ------------------- GUI_MSG_WINDOW_DEINIT
23:33:12 T:3067770720 M:1057161216 DEBUG:
23:33:12 T:3067770720 M:1057161216 DEBUG: -------------------