You are not logged in.
Pages: 1
I have the following in my config.h :
static const char *volumedowncmd[] = { "amixer", "set", "Master", "5%-", "unmute", NULL };
static Key keys[] = {
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = volumedowncmd } },
};I have a compilation error. Replacing 'XF86XK_AudioLowerVolume' with 'XK_x' works. All examples I found used 'XF86XK_AudioLowerVolume'. I tried 'XF86AudioLowerVolume', but it doesn't work.
Last edited by Gradient (2013-10-29 09:56:31)
Offline
Either use the hex codes, or include the XF86keysym header in your config.h before you use those. They need to be defined before you can use them.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1