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've been wondering how can I assign to multiple keyboard shortcuts to do the same action? More specifically, I want to be able to change my volume with both my headset buttons and my keyboard.

I'm able to change the volume with just one at the time: with the one I define in the 'Keyboard shortcuts' application. Is there any way?

share|improve this question
add comment

1 Answer 1

You could probably use xmodmap to reassign the buttons on your headset to the same as you use for your keyboard.

share|improve this answer
    
Yes, but now I need to know what is the default action of 'Audio raise/lower volume', from the Keyboard shortcuts application. Because, when I use my own command 'amixer channel set opt', it raises/lowers the MBO sound card, while I'm listening with my headset. –  ksemeks Aug 30 '11 at 7:50
    
@ksemeks : the actions are : amixer set Master 10%+ to raise the volume amixer set Master 10%- to decrease the volume. To get the gauge notification, you could use notify-send, but I am not sure how to set the gauge –  danjjl Aug 30 '11 at 9:05
    
@danjjl: well, that's why I'm trying to find the exact action of the Volume up/down, from Setting->Keyboard->Shortcuts –  ksemeks Aug 30 '11 at 9:10
add comment

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.