PDA

View Full Version : Xbmc & dpms


dgege
2008-10-20, 07:20
I have an annoying problem, maybe someone has a solution. Is there a way for XBMC to disable DPMS when viewing a movie? I have to disable DPMS manually each time, it's annoying.

topfs2
2008-10-20, 09:14
For now you could perhaps use this:
dbus-send --session \
--dest=org.gnome.PowerManager \
--type=method_call \
--print-reply \
--reply-timeout=2000 \
/org/gnome/PowerManager \
org.gnome.PowerManager.setDpmsMode \
string:on


You would need to bake in that command into a script that sends that command every X seconds. Im not that good on bash so I cant help you there.

Cheers,
Tobias

dgege
2008-10-20, 20:10
For now you could perhaps use this:
dbus-send --session \
--dest=org.gnome.PowerManager \
--type=method_call \
--print-reply \
--reply-timeout=2000 \
/org/gnome/PowerManager \
org.gnome.PowerManager.setDpmsMode \
string:on


You would need to bake in that command into a script that sends that command every X seconds. Im not that good on bash so I cant help you there.

Cheers,
Tobias

I already have something similar. I mapped a buton on my remote that toggles DPMS. But it's annoying when I forget to toggle it back on and my monitor stays on (dual screen monitor+TV-out)

topfs2
2008-10-21, 00:39
You could start a feature request trac ticket for this, maybe it will make it to 9.04 :)

Cheers,
Tobias

dgege
2008-10-21, 22:30
I posted in the XBMC Feature Suggestions discussion forum. Let's see how it does.