You are not logged in.
I'm attempting to get the volume and brightness controls, as well as the multimedia controls, to work with the Fn-F4, Fn-F5, etc. keys. However, Im not having any luck.
Here's what I've done thus far;
I've edited my ./config/openbox/rc.xml file to reflect the XF86 keybindings under the Keybindings section, for volumeup, volumedown, and volumemute:
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer set Master 10%+</command>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<command>amixer set Master 10%-</command>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer set Master toggle</command>volumeicon installed, and I can change the volume by scrolling
</action>
</keybind>
This doesen't work. I have a System76 panp9 notebook, which has the volume mute, down and up keys as Fn-F3, F5 and F6 respectively. Ive run xev, and when I try any of these, I only recieve a Focus in/out event. Same goes for the brightness and multimedia controls, as they are also on the Fn modifier set. I can use "amixer set Master +10%" at the command line and the volume changes.
I have volume icon 0.5.0 installed, and I can adjust the volume by scrolling on the icon, but its inconvient, as opposed to just hitting a key combo. I've been able to use the key combo on every DE without issue, so what would it take to program OB to recognize the Fn modifier and allow the keybindings to read?
Last edited by douglasdouglasj (2014-12-12 21:18:09)
Offline
I think you have to use the keycodes:
Raise volume is "0x1008ff13"
Lower volume is "0x1008ff11"
Mute is "0x1008ff12"
These appear to be universal.
Freedom for Öcalan!
Offline
Did you restart openbox (or use openbox --reconfigure) after making the changes? Did you run xev before or after making these changes? Is some other key binding program running?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I think you have to use the keycodes:
Raise volume is "0x1008ff13"
Lower volume is "0x1008ff11"
Mute is "0x1008ff12"These appear to be universal.
OK, I appended the xml with your suggestion, and it works ike a charm! Thanks!
Offline
Excellent!
If you edit the title of your first post & put "[SOLVED]" at the beginning, it will help others who have this problem
Freedom for Öcalan!
Offline
Also, for future reference, where would I find the keysym equivalents for other keys as well?
Offline
https://wiki.archlinux.org/index.php/ex … board_keys
http://unix.stackexchange.com/questions … d-keycodes
Freedom for Öcalan!
Offline