8

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?

Eliah Kagan
  • 117,780
desgua
  • 32,917

1 Answers1

10

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

ccsm  

3) Go to commands and add this lines:

xdotool key XF86MonBrightnessUp  

xdotool key XF86MonBrightnessDown  

enter image description here

I hope I enjoy ;-)

Eliah Kagan
  • 117,780
desgua
  • 32,917
  • 1
    This doesn't seem to exist in version 0.9.8.5. – blee Nov 05 '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