I remember in Xubuntu, when the laptop got unplugged, the screen brightness would go down. Any idea what sort of command they used to do that? I have mine (using ACPI event) underclock to 600MHz CPU and 90MHz GPU when unplugged, but it would be nice if I could lower the screen brightness too. It doesn't matter that much, but if anyone happens to know, it'd be appreciated.
Thank you!
turn screen brightness down automatically?
turn screen brightness down automatically?
Frankenpad X31.5 (X31 casing, X32 motherboard) 1.8ghz Pentium M processor, 1gb RAM,
60gb HDD dual booting Arch GNU/Linux && Windows XP
60gb HDD dual booting Arch GNU/Linux && Windows XP
Re: turn screen brightness down automatically?
There is a command line utility called xbacklight. Support for changing the brightness using xbacklight varies between drivers, though. Another possibility is one of the many knobs under /sys or /proc.
Is it possible what you saw was the Display brightness setting in the BIOS? If it's set to High, then you won't notice a change when unplugging the power cable. If it is set to Normal, the display will dim a bit regardless of the OS.
Is it possible what you saw was the Display brightness setting in the BIOS? If it's set to High, then you won't notice a change when unplugging the power cable. If it is set to Normal, the display will dim a bit regardless of the OS.
Re: turn screen brightness down automatically?
I figured out that I can echo level + a number (0-7) to /proc/acpi/ibm/brightness
(as in "echo level 3 > /proc/acpi/ibm/brightness"). wow, Linux is pretty advanced!
now I have it set to do the following whenever the cord is unplugged:
cpufreq-set -f 600
rovclock -c 90 -m 100
echo level 3 > /proc/acpi/ibm/brightness
then when it becomes plugged in:
cpufreq-set -g ondemand
rovclock -c 144 -m 144
echo level 7 > /proc/acpi/ibm/brightness
I think the /proc folder might be one of my favorite aspects of Linux. well I guess just the everything being a file, in general.
(as in "echo level 3 > /proc/acpi/ibm/brightness"). wow, Linux is pretty advanced!
now I have it set to do the following whenever the cord is unplugged:
cpufreq-set -f 600
rovclock -c 90 -m 100
echo level 3 > /proc/acpi/ibm/brightness
then when it becomes plugged in:
cpufreq-set -g ondemand
rovclock -c 144 -m 144
echo level 7 > /proc/acpi/ibm/brightness
I think the /proc folder might be one of my favorite aspects of Linux. well I guess just the everything being a file, in general.
Frankenpad X31.5 (X31 casing, X32 motherboard) 1.8ghz Pentium M processor, 1gb RAM,
60gb HDD dual booting Arch GNU/Linux && Windows XP
60gb HDD dual booting Arch GNU/Linux && Windows XP
-
- Similar Topics
- Replies
- Views
- Last post
-
- 4 Replies
- 958 Views
-
Last post by matn__
Thu May 11, 2017 2:33 pm
-
-
T450 - Brightness control hotkeys not working after system wake
by Czechnology » Tue Jan 10, 2017 9:05 am » in ThinkPad T430/T530 and later Series - 0 Replies
- 416 Views
-
Last post by Czechnology
Tue Jan 10, 2017 9:05 am
-
-
-
ThinkPad T43/p in T41p casing - cannot turn back on after shutdown with charger left plugged
by kfzhu1229 » Wed Feb 01, 2017 1:38 am » in ThinkPad T4x Series - 2 Replies
- 1322 Views
-
Last post by kfzhu1229
Wed Feb 01, 2017 8:20 am
-
-
-
Any pcb designs/kits to turn X40 keyboard+TP into USB or PS/2?
by abvgdee » Wed Apr 12, 2017 2:50 am » in ThinkPad X2/X3/X4x Series incl. X41 Tablet - 3 Replies
- 427 Views
-
Last post by axur-delmeria
Thu Apr 13, 2017 5:54 am
-
Who is online
Users browsing this forum: No registered users and 0 guests



