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

From: Alexander Tanyukevich <atanyukevich_AT_gmail.com>
Date: Wed, 18 Apr 2012 11:06:01 +0200

>> 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};
static const char *voltogglemutecmd[] = {"/home/olek/.bin/pavolume
toggle", NULL};
...
{0, XF86XK_AudioRaiseVolume, spawn,
{.v = volinccmd } },
{0, XF86XK_AudioLowerVolume, spawn,
{.v = voldeccmd } },
{0, XF86XK_AudioMute, spawn,
{.v = voltogglemutecmd } },

pavolume is bash script and it works for shure. As currently I am
using it manually.

-- 
Alexander Tanyukevich
atanyukevich_AT_gmail.com
Received on Wed Apr 18 2012 - 11:06:01 CEST

This archive was generated by hypermail 2.3.0 : Wed Apr 18 2012 - 11:12:05 CEST