|
2011-04-17
, 06:26
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#2
|
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-04-17
, 09:21
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#3
|
|
2011-04-18
, 13:54
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#4
|
run-standalone.sh dbus-send --system --type=method_call -dest=com.nokia.controlpanel /com/nokia/controlpanel/rpc com.nokia.controlpanel.run_applet string:libcpdisplay.so boolean:true
restore_value() { gconftool-2 --type $1 --set $2 `gconftool-2 --get $2` } restore_value int /system/osso/dsm/display/display_blank_timeout restore_value int /system/osso/dsm/display/display_dim_timeout restore_value bool /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled restore_value bool /system/osso/dsm/display/display_on_with_charger
value=`gconftool-2 --get XXX` echo `expr $value \* 2 + 1` > /sys/devices/platform/omapfb/panel/backlight_level
|
2011-04-18
, 14:03
|
Posts: 1,680 |
Thanked: 3,685 times |
Joined on Jan 2011
|
#5
|
The Following User Says Thank You to vi_ For This Useful Post: | ||
|
2011-04-19
, 00:38
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#6
|
|
2011-04-23
, 01:07
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#7
|
run-standalone.sh dbus-send --system --type=method_call -dest=com.nokia.controlpanel /com/nokia/controlpanel/rpc com.nokia.controlpanel.run_applet string:libcpdisplay.so boolean:true
Usage: dbus-send [--help] [--system | --session] [--dest=NAME] [--type=TYPE] [--print-reply=(literal)] [--reply-timeout=MSEC] <destination object path> <message name> [contents ...]
[1|user@Nokia-N800-43-7|~]
restore_value()
{
gconftool-2 --type $1 --set $2 `gconftool-2 --get $2`
}
restore_value int /system/osso/dsm/display/display_blank_timeout
restore_value int /system/osso/dsm/display/display_dim_timeout
restore_value bool /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled
restore_value bool /system/osso/dsm/display/display_on_with_charger
value=`gconftool-2 --get XXX`
echo `expr $value \* 2 + 1` > /sys/devices/platform/omapfb/panel/backlight_level
|
2011-04-23
, 05:55
|
Posts: 875 |
Thanked: 918 times |
Joined on Sep 2010
|
#8
|
This doesn't work either.
I'm not sure how to get the value of XXX using g-conf.
The Following User Says Thank You to auouymous For This Useful Post: | ||
|
2011-04-23
, 06:02
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#9
|
Does it produce an error?
|
2011-04-23
, 06:10
|
|
Posts: 3,811 |
Thanked: 1,151 times |
Joined on Oct 2007
@ East Lansing, MI
|
#10
|
/etc/init.d/mce stop
so I can use more of the hardware keys to do different junk.
After I'm done using this I then
sudo /etc/init.d/mce start
The thing is, my original screen brightness and screen blanking timeout numbers are different afterwards.
I then have to go to the Control panel, Display, then click on Okay for them to restore back to their original settings.
Is there any command that I can add to the script so it will do this for me?
I'm using Advanced-Backlight by the way.
Thanks.