You are not logged in.

#1 2006-12-10 00:39:35

From: CO, USA
Registered: 2006-12-05
Posts: 258

xmodmap doesn't seem to work

I am trying to setup my volume keys on my keyboard to work globally under fluxbox. In so doing I'm trying to get xmodmap to map keycodes to keysyms but this doesn't seem to be working. Here is what I've got in my .xmodmap file...

keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume

and here is what I have in my keys file for fluxbox

None XF86AudioLowerVolume :ExecCommand amixer set Master 2%-
None XF86AudioRaiseVolume :ExecCommand amixer set Master 2%+

After loading xmodmap this doesnt work. If i change it so that the keys file uses "mod4 x" as the key combo this works fine. Does anyone have any ideas on how I can get my extra multimedia keys to do this? Thanks.


Board footer

Powered by FluxBB