Hello,
I have a openbox install, i search what are the command i must set for down/up/mute the volume with my multimedia key.
Could you help me please?
Hello,
I have a openbox install, i search what are the command i must set for down/up/mute the volume with my multimedia key.
Could you help me please?
My Website : www.atlas95.com !
First, you may need to get your keycodes for these special keys from the xev program that will dump the X events into your terminal screen. So as you do mouse events, and keyboard events, the codes are dumped for you to see.
Use that program to get the key events for your volume keys you want to use. It will dump output something like the following:In this case, you see that the "keycode" is 161Code:KeyPress event, serial 32, synthetic NO, window 0x2000001, root 0x13a, subw 0x0, time 3204054097, (867,651), root:(868,673), state 0x0, keycode 161 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 32, synthetic NO, window 0x2000001, root 0x13a, subw 0x0, time 3204054097, (867,651), root:(868,673), state 0x0, keycode 161 (keysym 0x0, NoSymbol), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Then (assuming openbox matches fluxbox in this matter) add the events to your keys file that contains your desired keyboard shortcuts.
In that case, for my system, 161 matches the calculator special key, so I have added the following entry to my keys file:You can execute any command line audio commands, such as alsa-mixer or what not.Code:None 161 :Exec xcalc
I am not at my Linux box at the moment (I am on a short break at work), so I cannot be more specific at the moment, but I can check back on this thread later today if you have tried this and still have problems.
Linux Genuine Advantage: I am licensed!
Spouting mindless hatred of all things Microsoft since... ummm... never.
Hi,
thanks for your help, could you help me to find what is the command to launch for set pulse volume, with command such as pacmd, pactl or whatever... I doesn't want to use alsamixer volume
My Website : www.atlas95.com !
Thanks but isn't the method to bind my multimedia keyboard that i search, but what is the command to attribute to set the PULSEAUDIO volume kpkeerthi
My Website : www.atlas95.com !
Unfortunately, you have caught me at work again.
I can see pulseaudio documentation here: http://www.pulseaudio.org/wiki/CLI
But I can see an absolute setting, and not a +5% type of adjust that I am used to in alsa.
I haven't looked at keytouch, except to follow kpkeerthi's link, and not sure I would agree that an outside app would be better than using the native *box support.
(p.s. I see that Openbox uses a different keybinding system than fluxbox, so my example earlier will not apply, and you must use the openbox xml file that you are probably already familiar with)
Linux Genuine Advantage: I am licensed!
Spouting mindless hatred of all things Microsoft since... ummm... never.
Bookmarks