Ubuntu Geek

Ubuntu Linux Tips,Howtos&Tutorials|Edgy,Feisty,Gutsy,Hardy,Intrepid

  • RSS Feed

    subscribe to the ubuntu Geek RSS feed


  • Sponsor



  • Categories

  • Meta

  • Sponsor

  • Archives

  • Support Ubuntugeek

    Amount $:
    Website(Optional):


  • Favourite Sites

Fix your laptops brightness function keys operating properly in Hardy

Posted by admin on April 26th, 2008 Email This Post Email This Post

If you recently installed Ubuntu Hardy Heron 8.04 and discovered that your laptops function keys are not properly adjusting the brightness. In essence, you are pressing the key combination and nothing is happening try this fix.

Before doing any changes you need to take backup of existing files

Now you need to download the following files in /etc/acpi/ directory

Download video_brightnessup.sh from here

Download video_brightnessdown.sh from here

After replacing these scripts

No reboot or logout required, simply press your function combination on your laptop to change brightness. Try to press FN + Up/Down Arrow.

Credit goes to AaronMT

Share/Save/Bookmark

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!

Related Articles

10 Responses to “Fix your laptops brightness function keys operating properly in Hardy”

  1. Angelo Says:

    Actually, I don’t have any problems with my function keys on my DeLL Inspiron 1420.
    All keys were functional from the moment I’ve installed Hardy.

  2. João Says:

    hello, i have a SONY vaio VGN-FZ21E and to adjust the brightness i use the keys Fn + F5 (less brightness) and Fn + F6 (more brightness) but in Ubuntu Hardy Heron i can’t adjust the brightness and this fix do not result in my laptop, can you help?

  3. borworn Says:

    My Fujitsu Lifebook has problem with brightness function keys and this fix also does not fix the problem. The function keys work correctly in Windows.

  4. PivuSan Says:

    Hello João! Tell me please. The Web-camera works for you?

  5. Greg Says:

    I just wrote a tool in C to do this same task. DOH!

  6. admin Says:

    @Greg

    Is it possible to share with us or you can submit as article to ubuntugeek

    Thanks

  7. Helman Says:

    For those of you who had tried this tip but didn’t work, let me share my experience (on HP Compaq Presario V3000).

    First, type this command:

    >> cat /proc/acpi/video/VGA/LCD/brightness

    which will show on the screen something like this:

    levels: 100 60 20 28 36 44 52 60 68 76 84 93 100
    current: 100

    Then change the brightness values in video_brightnessup.sh and video_brightnessdown.sh to match the values shown after the word ‘levels’ above.

    Also, don’t forget to set the file permissions of video_brightnessup.sh and video_brightnessdown.sh so that they become executable.

    Hope this works for you too!

  8. Treval Says:

    All,

    I have the same problem on my Fujitsu Amilo 2515 laptop. It looks to me as though the video_brightnessup & down scripts are not being called at all.

    Anyway, as a quick workaround use the following script from a terminal window:

    —————-

    #!/bin/sh

    if [ $# = 0 ]
    then
    bval=75
    else
    bval=$1
    fi

    echo ${bval} > /proc/acpi/video/GFX0/DD02/brightness

    ————

    On my machine, valid values for brightness are: 13, 25, 38, 50, 63, 75, 88 , 100

    If you invoke the script without a value, the brightness will be set to 75% which I find adequate for most environments.

  9. Max Magliana Says:

    The script needs to be edited depending on the notebook being used. Not all monitors accept the same values for brightness. Mine are:

    95 43 20 24 28 32 37 43 50 59 69 81 95

    Also, most people will probably not know that they have to make the scripts executable with:

    sudo chmod a+x /etc/acpi/video_bright*

    Otherwise it will definitely not work.

  10. dave Says:

    hello everybody,

    i have these function-keys problem, too. what i tried out is the follwing:

    - edited the video_brightnessdown.sh and video_brightnessup.sh files
    - filled with the values from /proc/acpi/video/NVID/LCD/brightness
    - set the attributes to execute

    then i tested the settings, and it stilld doesn’t work.
    i found out that, when i am pressing the function-keys it affects the brighness-file (checked the current-value)

    but the display is at maximum brightness and the current-values says: it is at 10! evertime i push the change-buttons the current-value changes, unfortunately not the real brightness of the display.
    using the function-keys in a textconsole (STRG+ALT+F1) works.

    is there any solution to this? or did i forgot anything?

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>