![]() |
Screen Brightness Adjustment
Hello,
I have a low end 7" CnMBook running modified Debian OS. Is there any way to adjust the screen brightness, if possible by adding a Fn command Up and Down? Many thanks, GH |
finding that in my laptop the file was
BRIGHTNESS = { cat /sys/devices/virtual/backlight/acpi_video0/brightness} BRIGHTNESS = [ $BRIGHTNESS + 1 ] echo -n $BRIGHTNESS > /sys/devices/virtual/backlight/acpi_video0/brightness Now I should have stopped it at 10 because 10 is max but I wasn't bothered. Some of those names may differ on your install because of a different manufacturer's dsdt (Bios file that affects acpi) |
Screen Brightness
Thanks for this - when I tried the commands I got a 'BRIGHTNESS: not found' message so I guess the Debian variable names and/or file names are different?
G |
Quote:
Code:
BRIGHTNESS=$( cat /sys/devices/virtual/backlight/acpi_video0/brightness )
|
Quote:
It's not a popular machine so netsearching for CnMBook and brightness is not helpfule but netsearching for debian and brightness may help. Here's a script that works on the Samsung N150: Code:
#!/bin/bashThe method to map an Fn key to call it depends on which desktop you are using. Assuming the script is /usr/local/sbin/backlight, for Xfce the method is Code:
Menu->Settings->Keyboard->"Application Shortcuts"The sudoers file must be configured to allow the user to run /usr/local/sbin/backlight, for example by: Code:
Cmnd_Alias NETBOOK_CMDS = /usr/local/sbin/backlight, /usr/local/sbin/rftoggle, /usr/local/sbin/cpufreq_toggle |
| All times are GMT -5. The time now is 08:59 AM. |