Often we need to use "tricks" to achieve the results we want. Setting the brightness of the screen notebook may be one of them. Despite all the power that a modest setting of brightness can provide can not work with little gloss on the screen. Use as Ubuntu desktop and never had problems with the keys Fn + FX to adjust the brightness, but after that ruined my keyboard (long story) had to run behind a solution for manual adjustment of brightness.
The "trick" is to change the brightness level of directly in / proc with the command:
# Echo-n 78> / proc / acpi / video / VGA / LCD / brightness
or with the sudo for those who prefer this:
-n 78 > / proc / acpi / video / VGA / LCD / brightness $ Sudo echo-n 78> / proc / acpi / video / VGA / LCD / brightness
It is important to note that only works if the file / proc / acpi / video / VGA / LCD / brightness and there is value in the past pre-set levels for the device. You can find these values in the file, try a cat / proc / acpi / video / VGA / LCD / brightness.
Below a small script that can help in this configuration and with small changes can make that adjustment be automatic at startup.
#! / bin / bash # Adjustment brilho.sh # Adjust the brightness of the screen brightness manually, especially when # Keys fn + fx, especially in notebooks do not work -f / proc / acpi / video / VGA / LCD / brightness ] ; then if [-f / proc / acpi / video / VGA / LCD / brightness]; then proc / acpi / video / VGA / LCD / brightness | head -n 1 cat / proc / acpi / video / VGA / LCD / brightness | head-n 1 "Informe um dos níveis (levels) acima: " echo-n "Report of the levels (levels) above:" read Brightness ${brilho} > / proc / acpi / video / VGA / LCD / brightness echo-n $ (brightness)> / proc / acpi / video / VGA / LCD / brightness else echo "The arrquivo / proc / acpi / video / VGA / LCD / brightness does not exist!"echo "Maybe the video module and / or acpi not loaded!" fi
References to the topic:
https: / / bugs.edge.launchpad.net / ubuntu / + source / hal / + bug/82188
http://ubuntuforums.org/showthread.php?t=544968
http://microrants.blogspot.com/2007_06_01_archive.html









6 Comments
/ proc / acpi / video / VGA / LCD / brightness no longer exists in the file hardy?
now how to change the brightness? since the staff of ubuntu resolved sacanear me, taking control of brightness (fn + f7/F8) operating in beta (kernel 2.6.24-12) heheheh
Friend,
What is the model of your note? As I updated my version for final 8:04 and had no problems, so the file / proc / acpi / video / VGA / LCD / brightnes exists as the shortcut keys work normally. For curiosity tried the same file on my desktop that uses LCD and not found.
The most likely is that your system is using a generic video driver and therefore not enabled this feature. We must investigate the problem more afundo!
Hello friend, installed Ubuntu 8.04 and is not working to control the brightness of the screen, strange is that the volume of sound everything is okay! My notebook is a Microboard inovation SR!
I am looking for hours and can not find help! How to control work! abrass
Machizu friend,
The explanations of the text it helped in some way or not work? If work is unlikely to have any problem with the monitor driver that Ubuntu installed.
I suggest you look for a more specialized assistance mainly in forums, because this was my very specific problem and as I told you to control brightness of the keyboard always worked before ruin.
I can not help in it more ... good luck!
Wasare friend,
Discovering that the system is little time oncioso, it lowers the brightness of the screen! I would really like is that the Fn + F7 or F8 function! ) =
Sudo tested and returned the file does not exist!
What do I do now?
Very difficult to find help pro linux! ) =
Abrass
Machizu,
Leaving even the best friend is trying to find help in any forum. Try to find other users with the same model of your notebook. Perhaps a simple Microboard inovation LCD brightnes + + linux, or something similar on google can help.
One Trackback / Pingback
[...] This issue follow this tutorial written in tutolivre.net and assure it is really functional. It is worth. I know it is annoying for some is entering the [...]
Submit a Comment