Re: [dev] Multimedia keys doesn't send proper keycodes
On Wed, Apr 18, 2012 at 11:06:01AM +0200, Alexander Tanyukevich wrote:
> >> or use xbindkeys to bind those keys, e.g.
> >
> > Or speckeysd.
>
> OK. But why my bindings in config.h doesn't work:
>
> #include "X11/XF86keysym.h"
> ...
> static const char *volinccmd[] = {"/home/olek/.bin/pavolume increase", NULL};
> static const char *voldeccmd[] = {"/home/olek/.bin/pavolume decrease", NULL};
you wanted to write:
static const char *volinccmd[] = {"/home/olek/.bin/pavolume", "increase", NULL};
static const char *voldeccmd[] = {"/home/olek/.bin/pavolume", "decrease", NULL};
see the difference?
there's a reason these pointers are string lists in the first place.
cheers!
mar77i
Received on Wed Apr 18 2012 - 11:10:13 CEST
This archive was generated by hypermail 2.3.0
: Wed Apr 18 2012 - 11:12:08 CEST