View Single Post
Posts: 1,100 | Thanked: 2,797 times | Joined on Apr 2011 @ Netherlands
#121
Originally Posted by Willem Liu View Post
You're welcome. I might have to change the interval a bit in the next version so it also works when the dim backlight time out has been set to 10 seconds

I'll probably have to set the interval to 9 seconds then or maybe less.
Can't imagine people find it usable to to have a screen timeout of 10 seconds...

You could make it dynamic, depending on the timeout value.
Code:
gconftool-2 --get /system/osso/dsm/display/display_dim_timeout
will give you the current setting, but it must also be available in some /sys or /proc directory file.

The dbus-send is not an expensive command I guess, so 10 seconds won't be an issue.

Last edited by ade; 2011-11-09 at 10:06.
 

The Following User Says Thank You to ade For This Useful Post: