Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

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

share|improve this answer
1  
This doesn't seem to exist in version 0.9.8.5. –  briankb 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. –  underdog012 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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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