[SLE] Keyboard bindings
From: Vladimir Niksic (vniksic_at_inet.hr)
Date: 05/30/05
- Previous message: Scott Leighton: "Re: [SLE] Disable ARTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 30 May 2005 16:09:51 +0200 To: suse-linux-e@suse.com
I bought a cheapo keyboard the other day that has a few 'multimedia'
keys such as volume up, volume down, mute and some other rubbish.
In Windows, the media keys are actually pretty useful when in a game, or
you're too lazy to play with the audio controls. Because of the speaker
setup, I can't simply turn the knob on the speaker and make it
quieter/louder.
Now, in Linux, I'm wondering can you setup to something like that. I
tried going to Kcontrol and setting up control to one of those special
keys. He didn't register that anything was pressed. I started xev, and
got the following:
for volume up:
KeyPress event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2819764, (665,948), root:(669,978),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2819832, (665,948), root:(669,978),
state 0x10, keycode 176 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
for volume down:
KeyPress event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2846764, (434,700), root:(438,730),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2846833, (434,700), root:(438,730),
state 0x10, keycode 174 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
and for mute:
KeyPress event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2867280, (568,721), root:(572,751),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x3200001,
root 0x40, subw 0x0, time 2867345, (568,721), root:(572,751),
state 0x10, keycode 160 (keysym 0x0, NoSymbol), same_screen YES,
XLookupString gives 0 bytes:
Is there anyway to setup so when I hit one of those keys, aumix triggers
with a flag to raise/lower or mute sound? Kcontrol obviously isn't going
to happen, so I'm wondering is there a way to set it up on the level of
X windows.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Scott Leighton: "Re: [SLE] Disable ARTS"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|