View Single Post
Old 03-05-2013, 12:29 AM   #7
brianinmaine
Evangelist
brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.brianinmaine ought to be getting tired of karma fortunes by now.
 
brianinmaine's Avatar
 
Posts: 457
Karma: 1287375
Join Date: Jan 2013
Location: West Gardiner, Maine
Device: Touch (5.3.7)
Quote:
Originally Posted by twobob View Post
PHP Code:
#!/bin/sh
SSSTATE=`lipc-get-prop com.lab126.powerd preventScreenSaver`
lipc-set-prop com.lab126.powerd preventScreenSaver 0
/usr/bin/xtestlab126 &
dbus-monitor "interface='com.lab126.powerd',member='goingToScreenSaver'" --systemkillall xtestlab126lipc-set-prop com.lab126.powerd preventScreenSaver "$SSSTATE) &
usleep 50000
killall 
-INT dbus-monitor 


Yeah... that works.. update it to be that and you are golden for all Use Cases



Hope that helps
Thanks - it helps me a lot!

edit: The screensaver still comes on when I hit the power button, I don't see any difference from how it worked before?

Last edited by brianinmaine; 03-05-2013 at 12:36 AM.
brianinmaine is offline   Reply With Quote