[openbox] Mediakeys on Notebook

Mikael Magnusson mangosoft at comhem.se
Tue Jun 6 18:10:39 EDT 2006


On Tue, 6 Jun 2006, David Courtney wrote:

>>  you can write the keycode directly, but use hex, so if the keycode is 132
>>  you write 0x84
>> 
>
> Ahh.... does that mean that mean instead of this:
>
>  <keybind key="XF86AudioMute">
>   <action name="Execute"><execute>amixer -q -c 0 sset Master
> toggle</execute></action>
>  </keybind>
>
> I can have this:
>
>  <keybind key="0xA0">
>   <action name="Execute"><execute>amixer -q -c 0 sset Master
> toggle</execute></action>
>  </keybind>
>
> And then forego Xmodmap?

You could, but arguably it's nicer to have the names in rc.xml than the 
keycodes.

--
Mikael Magnusson



More information about the openbox mailing list