|
2010-03-11
, 01:55
|
|
Posts: 609 |
Thanked: 243 times |
Joined on Jan 2010
@ Eastern USA
|
#2
|
|
2010-03-16
, 15:24
|
Posts: 217 |
Thanked: 20 times |
Joined on Jan 2010
|
#3
|
|
2010-03-17
, 10:18
|
|
Posts: 2,121 |
Thanked: 1,540 times |
Joined on Mar 2008
@ Oxford, UK
|
#4
|
|
2010-03-17
, 14:06
|
|
Posts: 1,637 |
Thanked: 4,424 times |
Joined on Apr 2009
@ Germany
|
#5
|
#!/bin/sh # path to the keyboard slide state SLIDE_PATH=/sys/devices/platform/gpio-switch/slide/state TIMEOUT=25 read SLIDE_STATE < $SLIDE_PATH while [ "$SLIDE_STATE" == "open" ]; do # dbus-call to stop display blanking, I thought this one should turn light on # for at least 60 seconds, but it depends on your display settings. run-standalone.sh dbus-send --system --type=method_call --dest=com.nokia.mce /com/nokia/mce/request com.nokia.mce.request.req_display_blanking_pause sleep $TIMEOUT read SLIDE_STATE < $SLIDE_PATH done
The Following 3 Users Say Thank You to nicolai For This Useful Post: | ||
Is it possible to let the screen always on while the slide is open and return to normal configured screen time out while slide screen is close?
Thanks
dhcmega