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?

| improve this question | | | | |

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 ;-)

| improve this answer | | | | |
  • 1
    This doesn't seem to exist in version – isuldor Nov 5 '12 at 11:36
  • I have a Logitech keyboard MK700 and I am trying assign a shortcut for brightness.The Logitech keyboard is secondary and connected to a laptop wirelessly.I followed your instruction but they don't work at all.I restarted my system but still nothing. – und3rd06012 Mar 14 '13 at 16:06
  • You shouldn't need to restart for this to work. Did you remember to go to the "Key Bindings" tab and assign some shortcut to the command? Does the command work if you run it from a terminal? – desgua Mar 16 '13 at 15:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.