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

Reply via email to