maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   How to change display settings with xterm ? (https://talk.maemo.org/showthread.php?t=53174)

mymybib 2010-05-20 15:25

How to change display settings with xterm ?
 
Hi,

do you now how to change display settings with command line or in which file are they store ?

I like to change sygic's shortcut to disable the "lock screen automatically".

qwerty12 2010-05-20 15:39

Re: How to change display settings with xterm ?
 
gconftool -s -t bool /system/osso/dsm/locks/touchscreen_keypad_autolock_enabled false

mymybib 2010-05-20 15:43

Re: How to change display settings with xterm ?
 
My hero :)

How to do you know that ? Where can I found this kind of information alone ?

qwerty12 2010-05-20 15:47

Re: How to change display settings with xterm ?
 
Quote:

Originally Posted by mymybib (Post 667887)
My hero :)

How to do you know that ? Where can I found this kind of information alone ?

I have a copy of strings so I just looked at the Display control panel applet (/usr/lib/hildon-control-panel/libcpdisplay.so) and grepped it for "/" because I know it stores its settings in GConf, and GConf keys start with "/" :)

For completeness' sake, here's the output of that:
Quote:

/system/osso/dsm/display/max_display_brightness_levels
/system/osso/dsm/display/display_brightness_level_step
/system/osso/dsm/display/possible_display_dim_timeouts
/system/osso/dsm/display/display_brightness
/system/osso/dsm/display/display_dim_timeout
/system/osso/dsm/locks/touchscreen_keypad_autolock_enabled
/system/osso/dsm/vibra/touchscreen_vibra_enabled
/system/osso/dsm/display/enable_power_saving
/system/osso/dsm/display/inhibit_blank_mode
"gconftool -s -type <type> <key> <value>" will set a key's value,
"gconftool -g <key>" will tell you its current value,
and "gconftool -T <key>" will tell you the key's type


All times are GMT. The time now is 00:03.

vBulletin® Version 3.8.8