Getting multimedia controls to work??
Hey all,
Ive got a Microsoft Egronomic 4000 and i want to get its volume, mute, play puase buttons working (and if possible id like to remap my back and foward button to previous track and next track). I tried Lineak but im getting make errors and lineak development hasnt been up since 2006 so i give up on that. Any suggestions for ways to get my buttons working? |
|
afaik that only applies to the 2.6.22 not 2.6.29.
Feel free to correct me if i misinterpereted this ^_^ |
my one and only bump
|
Normally, it's just a matter of setting the correct XkbModel name in you /etc/X11/xorg.conf (or the hal 10-keymap.fdi file if you're using 13.0) to get the multimedia keys working. Is there not an appropriate model listed for your keyboard when you run through xorgsetup?
|
Quote:
it turns out i dont have a 10-keymap.fdi file? i looked under /etc/hal/fdi/policy |
Copy the 10-keymap.fdi file from /usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/.
Change Code:
<merge key="input.xkb.model" type="string">evdev</merge> Code:
<merge key="input.xkb.model" type="string">microsoft7000</merge> According to this it should work. http://ubuntuforums.org/showthread.php?t=229559&page=17 #164 |
xmodmap works great for remapping keys
I followed this (http://www.gentoo-wiki.info/HOWTO_Use_Multimedia_Keys) to get my keys working |
Ok i got allend's suggestion to work.... now i can bind shortcuts in XFCE's keyboard control panel to the vol up keys and vol down keys....
but what is the "command" to lower/raise/mute volume? im trying to bind it with the keyboard control panel. Ps. im using a x-fi if thats any help? |
I'm using amixer for volumecontrols.
increase vol: Code:
amixer sset Master 3+ Code:
amixer sset Master 3- Code:
amixer sset Master toggle |
I got volume controls to work by
Quote:
replace + with - for vol down the toggle command didnt seem to work.... and i need to figure out a way to do next track and previous track thanks again to all that helped! |
next:
Code:
XF86AudioNext Code:
XF86AudioPrev Code:
XF86AudioMute That's what I'm using in xmodmap and it works at least |
All times are GMT -5. The time now is 11:04 PM. |