View Single Post
Old 05-18-2013, 03:23 PM   #17
twobob
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.twobob ought to be getting tired of karma fortunes by now.
 
twobob's Avatar
 
Posts: 6,552
Karma: 6021146
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
/mnt/us/extensions/scroller/autoscroller

#!/bin/sh
SSSTATE=`lipc-get-prop com.lab126.powerd preventScreenSaver`
lipc-set-prop com.lab126.powerd preventScreenSaver 0
/mnt/us/extensions/scroller/bin/runner.sh & # HERE IS WHERE YOU COULD PUT THE ARGS LIKE ./runner.sh 5 21 0 & (or w/e)
( dbus-monitor "interface='com.lab126.powerd',member='goingToScre enSaver'" --system; killall -9 runner.sh; lipc-set-prop com.lab126.powerd preventScreenSaver "$SSSTATE"; ) &
usleep 30000
killall -INT dbus-monitor

in there mate...

pursuant to the specs outlined here http://www.mobileread.com/forums/sho...2&postcount=31

Last edited by twobob; 05-19-2013 at 03:16 AM.
twobob is offline   Reply With Quote