Howto set screen brightness in Toshiba Satellite T130

Write tutorials here
There are more tutorials here
Forum rules
Please don't add support questions to tutorials,start your own thread in the appropriate sub-forum instead. Before you post please read this
Post Reply
User avatar
Level 2
Level 2
Posts: 83
Joined: Thu Mar 04, 2010 5:31 pm

Howto set screen brightness in Toshiba Satellite T130

Post by m4daredsun »

It seems that dimming the screen brightness in Toshiba Satellite machines is a big issue. I personally have a T130 and I could find no way to reduce the brightness of the screen by using the ' Fn + 3 ' hotkey. In case you have this issue, 2 are the main consequences:
1) your eyes will start complaining after some minutes you look at your screen :evil:
2) on battery power, you won't get much working time :evil:

After many hours spent googling around I found the following post on ubuntuforums which allowed me to partially solve my issue:, 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

The first step is to create a file named in the right place and to make it executable. This can be accomplished by typing in terminal:

Code: Select all

sudo touch /etc/acpi/
sudo chmod 755 /etc/acpi/
2. Edit the file

The second step is to write some meaningful instructions in the file Open the file with your favourite text editor (mine is gedit) by typing:

Code: Select all

sudo gedit /etc/acpi/
Now copy paste the following lines into

Code: Select all


if [ "`sed -e "s/.[^ ]* *//" /proc/acpi/ac_adapter/ACAD/state`" = "on-line" ]
                logger "ACPI: AC adapter is on-line, brightness up..."
                sudo setpci -s 00:02.0 F4.B=99

                logger "ACPI: AC adapter is off-line, brightness down..."
                sudo setpci -s 00:02.0 F4.B=70

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

The last step is to tell ACPI to use the new configuration file. Type the following lines in terminal:

Code: Select all

 sudo su
echo action=/etc/acpi/ >> /etc/acpi/events/battery
echo action=/etc/acpi/ >> /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 :mrgreen: :mrgreen: :mrgreen:
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.
The only limiting factor of the Linux operating system is its user - Linus Torvalds
Level 1
Level 1
Posts: 15
Joined: Sun Mar 07, 2010 11:51 pm

Re: Howto set screen brightness in Toshiba Satellite T130

Post by MrCleanWithHair »

Don't know if this will be any help to you.

I couldn't get the fn + F? options to work for my Sony Vaio so I set keybindings for xbacklight to super + up/down to adjust my screen brightness.
I did something very similar to get my audio to work.

If you use openbox:
Post Reply

Return to “Tutorials”