Brightness keys do not work on HP Pavilion dv7 laptop with Ubuntu


HP-DV7Ubuntu has problems with brightness on HP Pavilion DV7 laptop (DV7-6B97EL). Don’t works the function keys to manage the brightness.

No problem, in the Ubuntu World nothing is impossible and everything is easy 😉

To solve this little problem edit /etc/default/grub and change the instruction below:


in this way:


then save and give this command:

sudo update-grub

Reboot the PC and all works perfectly.


  1. T

    Thank you so much! Though lacking instructions on HOW to edit this file, once i googled that, it worked as it should and I can now adjust brightness on my HP DV7.

    fyi, to edit the file in linux mint cinnamon, open the terminal and enter the following:
    sudo xed etc/default/grub

    then press enter and type in your root password.
    this will open the text editor and allow you to edit the file.

    You are looking for the line that matches this guide, and then follow the directions provided above.

Leave a Reply

Your email address will not be published. Required fields are marked *