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

Re: My audio buttons not working in #! 64-bit

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.

while ( ! ( succeed = try() ) );

Re: My audio buttons not working in #! 64-bit

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.

#! Statler (10-20120207) 32bit-BPO Openbox

Re: My audio buttons not working in #! 64-bit

pvsage wrote:

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

Re: My audio buttons not working in #! 64-bit

Well i did asign all keys now in gmusicbrowser under /settings/Keys... all but mute key are working smile. 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)