![]() |
Command line control of N900 screen brightness?
Can the N900's screen brightness be set via the command line?
Alternatively, does some application like Simple Brightness App have a command line interface that can be used to set screen brightness? |
Re: Command line control of N900 screen brightness?
Code:
gconftool-2 -s /system/osso/dsm/display/display_brightness -t int 5 Code:
#!/bin/sh |
Re: Command line control of N900 screen brightness?
[QUOTE=
Shove that into some script (/usr/bin/set_brightness) and use set_brightness 1/2/3/4/5 (chmod +x /usr/bin/set_brightness first)[/QUOTE] Nice. Why the brightness value needs to stick to 5 levels? Is there a method to make it 10 to 50 for example? |
Re: Command line control of N900 screen brightness?
Thank you.
Is there a similar command to turn the screen saver off? It would be useful to put in a script for calling X11 VNC Server, so that the screen doesn't go black. |
Re: Command line control of N900 screen brightness?
Quote:
With X: 0 -- dont inhibit blanking (means screensaver on) 1 -- Inhibit dimming/blanking while charging (undocumented, use with caution) 2 -- Allow dimming, but inhibit blanking if charger is connected 3 -- Inhibit dimming/blanking 4 -- Allow dimming, but inhibit blanking |
Re: Command line control of N900 screen brightness?
I need help. Suddenly my screen has become permanently bright. Reducing the brightness level in settings does not help; and it is still bright when the back light times out. It doesn't make my battery last. Have to recharge every four hours!!!
Thanks |
Re: Command line control of N900 screen brightness?
You can check if the light sensor works with this command:
Code:
cat /sys/bus/i2c/drivers/tsl2563/2-0029/lux |
Re: Command line control of N900 screen brightness?
I CAN'T FIND system/osso ... dictionary
|
All times are GMT. The time now is 15:14. |
vBulletin® Version 3.8.8