Re: [dev] Multimedia keys doesn't send proper keycodes

From: Eckehard Berns <ecki-suckless_AT_ecki.to>
Date: Wed, 18 Apr 2012 11:12:55 +0200

On Wed, Apr 18, 2012 at 11:06:01AM +0200, Alexander Tanyukevich wrote:
> OK. But why my bindings in config.h doesn't work:
> [...]
> static const char *volinccmd[] = {"/home/olek/.bin/pavolume increase", NULL};
> [...]

You need to separate the argument from the actual command like so:

static const char *volinccmd[] = {"/home/olek/.bin/pavolume", "increase", NULL};

Otherwise it would try to exec a script named "pavolume increase" in the
folder "/home/olek/.bin" without any arguments.

-- 
Eckehard Berns
Received on Wed Apr 18 2012 - 11:12:55 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 18 2012 - 11:24:04 CEST