1) your eyes will start complaining after some minutes you look at your screen
2) on battery power, you won't get much working time
After many hours spent googling around I found the following post on ubuntuforums which allowed me to partially solve my issue:
http://ubuntuforums.org/showthread.php?t=1321403&page=3, post #26
What you have to do is to modify some ACPI configuration files to set the brightness levels you want to use on battery and AC power. In the following, I will try to explain you how to accomplish this.
0. Check if SETPCI works on your machine
Before wasting time creating and modifying configuration files, I suggest to test the following simple command in a terminal window:
- Code: Select all
sudo setpci -s 00:02.0 F4.B=45
The command accpets values from 00 (dark) to FF (bright). The instructions should considerably reduce the brightness of your screen. If this is the case, you can proceed and read the following instructions. If not, I am afraid that this Howto will be useless for you
1. Create a file brightness.sh
The first step is to create a file named brightness.sh in the right place and to make it executable. This can be accomplished by typing in terminal:
- Code: Select all
sudo touch /etc/acpi/brightness.sh
sudo chmod 755 /etc/acpi/brightness.sh
2. Edit the file brightness.sh
The second step is to write some meaningful instructions in the file brightness.sh. Open the file with your favourite text editor (mine is gedit) by typing:
- Code: Select all
sudo gedit /etc/acpi/brightness.sh
Now copy paste the following lines into brightness.sh:
- Code: Select all
#!/bin/sh
if [ "`sed -e "s/.[^ ]* *//" /proc/acpi/ac_adapter/ACAD/state`" = "on-line" ]
then
logger "ACPI: AC adapter is on-line, brightness up..."
sudo setpci -s 00:02.0 F4.B=99
else
logger "ACPI: AC adapter is off-line, brightness down..."
sudo setpci -s 00:02.0 F4.B=70
fi
This will set your brigthness to 99 when working on AC power and to 70 on battery power. You can play with the numbers (from 00 to FF) to find your ideal values.
3. Make ACPI use brightness.sh
The last step is to tell ACPI to use the new brightness.sh configuration file. Type the following lines in terminal:
- Code: Select all
sudo su
echo action=/etc/acpi/brightness.sh >> /etc/acpi/events/battery
echo action=/etc/acpi/brightness.sh >> /etc/acpi/events/ac
And then restart ACPI:
- Code: Select all
restart acpid
Now you should be able the screen brightness values on Toshiba Satellite machine and next time you'll turn your machine ACPI will magically remember to adjust your screen brightness. On my T130 everything works perfectly
However, you will not be able to manually adjust your brightness by using the Fn key. For this, I haven't found any solution so far.



