Ubuntu – How to change the shortcut to adjust brightness


I want to make my own shortcut to increase or decrease brightness.

I don't like the default shortcut of my HP laptop (Fn + F7 to decrease and Fn + F8 to increase).

Is it possible?

Best Answer

Yes I did it again! Thanks to myself!

1) Install XDoTool and Compiz

sudo aptitude install xdotool compizconfig-settings-manager 

2) Open CompizConfig Settings Manager


3) Go to commands and add this lines:

xdotool key XF86MonBrightnessUp  

xdotool key XF86MonBrightnessDown  

enter image description here

I hope I enjoy ;-)

Related Question