You are not logged in.
Pages: 1
I'm new testing Arch with LXDE... when I try press mute from the keyboard the audio mutes but then I press again and it doesn't unmute, I know i could use xbindkey or a hotkey (with pactl) for unmute but this seems to be a bug of the WM that needs to be fixed, I'm using pulseaudio only and LXDE.
Thanks.
Offline
im no expert with lxde/openbox but my tv pc runs it and i had a look around, and by default none of the meda buttons on the keyboard work.
you need to add somthing like this to your ".config/openbox/lxde-rc.xml" in the keybind section:
<keybind key='XF86AudioMute'>
<action name='Execute'>
<command>amixer sset Master toggle</command>
</action>
</keybind>then save the file and run
openbox --reconfigureand that SHOULD make the mute button toggle mute on and off.
and in the same way for voume up and down:
<keybind key='XF86AudioRaiseVolume'>
<action name='Execute'>
<command>amixer sset Master 5%+</command>
</action>
</keybind>
<keybind key='XF86AudioLowerVolume'>
<action name='Execute'>
<command>amixer sset Master 5%-</command>
</action>
</keybind>EDIT: just a bit more info....
you can use "xev" (xorg-xev is the arch package) to find out the keysyms (XF86*****) which you can then map.
Last edited by jonno2002 (2023-06-26 23:53:02)
Offline
im no expert with lxde/openbox but my tv pc runs it and i had a look around, and by default none of the meda buttons on the keyboard work.
you need to add somthing like this to your ".config/openbox/lxde-rc.xml" in the keybind section:<keybind key='XF86AudioMute'> <action name='Execute'> <command>amixer sset Master toggle</command> </action> </keybind>then save the file and run
openbox --reconfigureand that SHOULD make the mute button toggle mute on and off.
and in the same way for voume up and down:
<keybind key='XF86AudioRaiseVolume'> <action name='Execute'> <command>amixer sset Master 5%+</command> </action> </keybind> <keybind key='XF86AudioLowerVolume'> <action name='Execute'> <command>amixer sset Master 5%-</command> </action> </keybind>EDIT: just a bit more info....
you can use "xev" (xorg-xev is the arch package) to find out the keysyms (XF86*****) which you can then map.
Already tried with openbox keybinds and pactl but for some reason doesn't work, lxhotkeys neither...
Offline
"already tried" doesnt really help, what did you actually try and how did you do it ?
what does "xev" output when you press those media buttons ?
Offline
"already tried" doesnt really help, what did you actually try and how did you do it ?
what does "xev" output when you press those media buttons ?
Reinstalled lxpanel and now it works with the volumealsa plugin, but the next/prev/play/pause buttons are now not working, I think I have to map manually those since the panel don't seems to support these hotkeys...
Offline
Pages: 1