Topic: My audio buttons not working in #! 64-bit
Hello i have a problem, as my audio buttons on my laptop wont work in #!.
How can i map below buttons to start working.
-forward
-backward
-play
-mute
-increase volume
-decrease volume
CrunchBang Linux Forums » Help & Support (Stable) » My audio buttons not working in #! 64-bit
Hello i have a problem, as my audio buttons on my laptop wont work in #!.
How can i map below buttons to start working.
-forward
-backward
-play
-mute
-increase volume
-decrease volume
This has always worked for me for controlling volume with the media keys. Add the following keybindings to your Openbox rc.xml:
<!-- Keybindings for volume control -->
<keybind key="XF86AudioRaiseVolume">
<action name="Execute">
<execute>amixer set Master 3+</execute>
</action>
</keybind>
<keybind key="XF86AudioLowerVolume">
<action name="Execute">
<execute>amixer set Master 3-</execute>
</action>
</keybind>
<keybind key="XF86AudioMute">
<action name="Execute">
<execute>amixer set Master toggle</execute>
</action>
</keybind>This controls the ALSA Master volume channel, so it's global within an Openbox session. (I always insert it at the top of the keyboard section, right under the ChainQuitKey line.)
I think playback/transport controls have to be set on a per-media-player basis, so if you tell us what media player(s) you use, we can help you out with that part too.
I have done exactly the same as pvsage has quoted and use VLC Media Player which gives you the option to set the Play/Pause, Previous and Next buttons in preferences.
This has always worked for me for controlling volume with the media keys. Add the following keybindings to your Openbox rc.xml:
<!-- Keybindings for volume control --> <keybind key="XF86AudioRaiseVolume"> <action name="Execute"> <execute>amixer set Master 3+</execute> </action> </keybind> <keybind key="XF86AudioLowerVolume"> <action name="Execute"> <execute>amixer set Master 3-</execute> </action> </keybind> <keybind key="XF86AudioMute"> <action name="Execute"> <execute>amixer set Master toggle</execute> </action> </keybind>This controls the ALSA Master volume channel, so it's global within an Openbox session. (I always insert it at the top of the keyboard section, right under the ChainQuitKey line.)
I think playback/transport controls have to be set on a per-media-player basis, so if you tell us what media player(s) you use, we can help you out with that part too.
I mostly use gmusicbrowser
Well i did asign all keys now in gmusicbrowser under /settings/Keys... all but mute key are working
. I opened alsamixer, to see if pressing my mute key does anything, but it doesnt. What now?.
Last edited by 71GA (2012-02-03 08:54:04)
Posts [ 5 ]
CrunchBang Linux Forums » Help & Support (Stable) » My audio buttons not working in #! 64-bit
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.