View Single Post
Posts: 875 | Thanked: 918 times | Joined on Sep 2010
#16
Originally Posted by Addison View Post
Is there just a simple way to read all of these values before the script and then return them back afterward?
gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/turn_off_display ?
gconftool-2 --type int --set /apps/osso/applet/osso-applet-display/brightness_period ?
gconftool-2 --type int --set /system/osso/dsm/display/display_dim_timeout ?
gconftool-2 --type int --set /system/osso/dsm/display/display_blank_timeout ?
I thought the values were correct and just need to be OK'd to restore them? You should have to read and write them to get MCE's attention.

I put together a small program to set the backlight, download it here http://asui.garage.maemo.org/download.html . You don't need to download the source file.

Code:
# advanced backlight
set-brightness `gconftool-2 --get /apps/adv-backlight/brightness`

# ASUI
set-brightness `gconftool-2 --get /apps/asui_state/brightness_level`
Second command is for anyone wanting to do this with ASUI.
 

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