Making use of volume control keys

2010-05-29 Thread Michael Goetze

Hi list,

I've just gotten a new laptop (Dell Latitude E4200), and it has some 
keys for adjusting the volume, which I'd like to configure to work with 
Debian. I'm using the awesome window manager.


They keys already get usefully recognized, as evidenced by the following 
xev output:


KeyPress event, serial 28, synthetic NO, window 0x281,
root 0x109, subw 0x0, time 8996889, (4,158), root:(665,178),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), 
same_screen YES,

XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 28, synthetic NO, window 0x281,
root 0x109, subw 0x0, time 8996972, (4,158), root:(665,178),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), 
same_screen YES,

XLookupString gives 0 bytes:
XFilterEvent returns: False

Now all I need is for them to interface with my sound hardware. :) I 
tried installing pulseaudio and running gnome-volume-control-applet in 
my systray, but it didn't have any effect. (The hotkeys for setting the 
LCD backlight interfaced nicely with the gnome-power-manager applet.)


Please CC me on replies, as I am not subscribed.

Thanks,
Michael


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4c014323.2010...@mgoetze.net



Re: Making use of volume control keys

2010-05-29 Thread Andrei Popescu
On Sat,29.May.10, 18:38:59, Michael Goetze wrote:
 
 Now all I need is for them to interface with my sound hardware. :) I
 tried installing pulseaudio and running gnome-volume-control-applet
 in my systray, but it didn't have any effect. (The hotkeys for
 setting the LCD backlight interfaced nicely with the
 gnome-power-manager applet.)

I'm setting a keybinding in the WM/DE:

XF86AudioLowerVolume:   amixer set Master 10%-

and so on. See 'man amixer'

 Please CC me on replies, as I am not subscribed.

Regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature