Audio hotkys not working on ASUS eeePC 701 4G with Trisquel Mini 8.0

Progetto:Trisquel mini
Versione:7.0
Componente:User interface
Categoria:segnalazione di bug
Priorità:normal
Assigned:Non assegnata
Stato:active
Descrizione

Version 8.0 was not available on the drop down menu so I had to enter 7.0 instead.

Problem is that while for example brightness keys work on eeePC 701 4G the volume keys do not.

xev outputs:

KeyPress event, serial 45, synthetic NO, window 0x1e00001,
root 0x97, subw 0x0, time 248702, (-425,81), root:(196,353),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

KeyRelease event, serial 45, synthetic NO, window 0x1e00001,
root 0x97, subw 0x0, time 248702, (-425,81), root:(196,353),
state 0x0, keycode 121 (keysym 0x1008ff12, XF86AudioMute), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x1e00001,
root 0x97, subw 0x0, time 249240, (-425,81), root:(196,353),
state 0x0, keycode 122 (keysym 0x1008ff11, XF86AudioLowerVolume), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False

so all keys are recognized. They are also defined in ./config/openbox/trisquel-mini-rc.xml, for example:

/usr/bin/volume.sh mute

After googling I found out that in Lubuntu someone had to edit that configuration file to make the keys work and instead of execute -line he had:

amixer -D pulse sset Master toggle

I tried editing that to the configuration file and rebooting but it does not work, howeer, running that command in LXT Terminal does work, it does toggle the sound.

Sound control is working in Lubuntu 18.04.

Gio, 01/31/2019 - 18:12

Sorry for typos and also the website seems to remove the code tags, but basically I have the default configuration file and I can see that the keys are mapped there, for example XF86AudioMute.