# next
"cmus-remote -n"
m:0x0 + c:171
# XF86AudioNext
Facundo
On Mon, Feb 11, 2013 at 05:42:16PM +0000, Harvey Kelly wrote:
> Hi everyone,
>
> Running Wheezy and the multimedia/volume keys don't work in
> Windowmaker (they work fine with Gnome and Xfce4), nor from the
> console.
>
> Using xev, it seems they've been mapped correctly (from an Arch wiki
> page I ran this command):
>
> xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode
> /s/^.*keycode ([0-9]*).* (.*, (.*)).*$/1 2/p'
>
> Which gave me the output:
>
> 123 XF86AudioRaiseVolume
> 122 XF86AudioLowerVolume
> 121 XF86AudioMute
>
> The Debian wiki (http://wiki.debian.org/Keyboard/MultimediaKeys)
> suggests mapping them with xmodmap - but that seems a little
> redundant/wrong if xev is telling me they're already mapped (same with
> xloadkeys).
>
> I've tried installing/purging everything to do with Gnome (to get rid
> of specifically pulseaudio), but that doesn't make any difference - l
> even uninstalled ALSA and reinstalled with no joy.
>
> Other function keys like brightness/dimming work fine, it's just the
> volume up/down/mute that aren't working.
>
> The card (according to alsamixer is a HDA Intel / Intel Cantiga HDMI).
> Any help would be really appreciated.
>
> Harvey
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/CAErRyQhDanNA6Psrk3WPg6U_bCzU_21DMC+LA+AJXJqYyXGv+ Q@mail.gmail.com
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20130215165119.GG986@who.void">http://lists.debian.org/20130215165119.GG986@who.void
02-16-2013, 01:17 AM
Harvey Kelly
Multimedia/Volume Keys Not Working
Hi Facundo,
Thanks for that. I did actually try xbindkeys before, and I was sure
my config was correct, but obviously I was wrong: I didn't point at
the card like you did (with -c0) and think there's where I went wrong
as everything else in your rc file is identical to my .xbindkeysrc.
Thanks again, and thanks to everyone who tried to help - especially
Andrey Rahmatul who tried insisting I give xbindkeys another go! :-)
H
On 15 February 2013 16:51, Facundo Aguirre
<facundo@creativadigital.com.ar> wrote:
> My .xbdinkeysrc for those keys is (using cmus as music player):
> # (un)mute
> "amixer -c0 set Master toggle"
> m:0x0 + c:121
> # XF86AudioMute
>
> # volume up
> "amixer -c0 set Master 1+ unmute"
> Shift + m:0x0 + c:123
> # XF86AudioRaiseVolume
>
> # volume down
> "amixer -c0 set Master 1-"
> Shift + m:0x0 + c:122
> # XF86AudioLowerVolume
>
> # more volume up
> "amixer -c0 set Master 10+ unmute"
> m:0x0 + c:123
> # XF86AudioRaiseVolume
>
> # more volume down
> "amixer -c0 set Master 10-"
> m:0x0 + c:122
> # XF86AudioLowerVolume
>
> # play / pause
> "cmus-remote -u"
> m:0x0 + c:172
> # XF86AudioPlay
>
> # stop
> "cmus-remote -s"
> m:0x0 + c:174
> # XF86AudioStop
>
> # next
> "cmus-remote -n"
> m:0x0 + c:171
> # XF86AudioNext
--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: CAErRyQgfquMdu+3Rmrtka-xGqQaK+W-hKA5wfZetn-E9hxSaSg@mail.gmail.com">http://lists.debian.org/CAErRyQgfquMdu+3Rmrtka-xGqQaK+W-hKA5wfZetn-E9hxSaSg@mail.gmail.com