Re: [dwm] keybinds: multimedia keys and no MODKEY

From: Capit Nicolas <capitn_AT_free.fr>
Date: Thu, 17 Aug 2006 12:06:49 +0200

effectively I tried 0 and False and it worked in the same manner. Ok so I will
use 0 :-)

For information:
My F30 key is my multimedia volume key on my laptop. I affect this in my
.xinitrc with:

/usr/bin/X11/xmodmap /home/capitn/xmodmap.sup

With in xmodmap.sup:

keycode 174 = F30
keycode 176 = F31
keycode 160 = F32
keycode 111 = F33
keycode 234 = XF86AudioLowerVolume
keycode 233 = XF86AudioRaiseVolume
keycode 232 = XF86AudioMute
keycode 231 = XF86Mail
keycode 130 = XF86OpenURL

because these keycodes are not registered by default. XF86... are keys on an USB
keyboard but I didn't test them.
So it is arbitrary and you can do that in an other way (perhaps).

capitn

Anselm R. Garbe wrote:
> On Wed, Aug 16, 2006 at 08:19:14PM -0400, mikshaw wrote:
>> >From Capit Nicolas, (17/08/06 00:37):
>>> I use False to perform this.
>>> ex:
>>>
>>> { False, XK_F30, spawn, { .cmd =
>>> "exec /usr/bin/aumix -w -5" } }, \
>> yeah...that's the stuff. Thank you =o)
>
> NULL and False are both wrong, use 0 instead (the modmask is
> a long).
>

Received on Thu Aug 17 2006 - 12:06:50 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:30:12 UTC