It is one more attempt to get Fn
keys to volume up/down, brightness, etc. working. Those controls are simply not working in my non-branded ultrabook.
In the configuration file:
/home/yourname/.config/openbox/lubuntu-rc.xml
We can find the following code:
<!-- Keybinding for Volume management -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<command>amixer -q sset Master 3%+ unmute</command>
</action>
</keybind>
So I guess if we find the correct keybind key, it will work. Am I right? If so, how?
Note: I'm using the default keyboard, pc105
Note 2: in this answer, for the XF86 keyboard, the format of the keys seems something like 0x1008FF12 (code for mute in that keyboard). According with that answer, the keybind key is a shortcut to a file where that code is.
Note 3: in this forum, there is an attempt to do it with xbindkeys. Unfortunately, xbindkeys doesn't seem to capture the Fn
key for me.
Note 4: after modifing the configuration file, we have to run openbox --reconfigure
xbindkeys -k
right? Tryxev
as suggested below too. Note that each movement of the mouse is reported as an event byxev
so it can be a pain to find the key you want in its output.xbindkeys-config
). Anyway, I just triedxbindkeys -k
with the same result: Fn+F4 is not detected either