You are not logged in.
These are not my ideas, I found them in several places, just thought I would put them here if people are searching for these keywords.
If the "mute" button does not work as intended (this can be partly a pulseaudio issue, I am sure that other people can describe it really well.), just paste this into your rc.xml file:
<keybind key="XF86AudioMute">
<action name="Execute">
<command>amixer -D pulse set Master toggle</command>
</action>
</keybind>
Further, for me the wlan button did not work at all, so I made a script /usr/local/bin/wlan with the following content:
#!/bin/bash
WLAN_status=$(nmcli -t -f WIFI r)
case $1 in
on)
nmcli r wifi on
;;
off)
nmcli r wifi off
;;
toggle)
if [ $WLAN_status = "letiltva" ] ; then
nmcli r wifi on
else
nmcli r wifi off
fi
;;
*)
echo "Usage: $0 {on|off|toggle}"
if [ $WLAN_status = "letiltva" ] ; then
echo 'Current status: off'
else
echo "Current status: on"
fi
;;
esac
Here, the word 'letiltva' in the wlan script is in Hungarian, it means disabled. I am not entirely sure what word is used with English locale debian (or with any other locale), but you can check by running
nmcli r wifi off
nmcli -t -f WIFI r
Then I made /usr/local/bin/wlan executable
sudo chmod ugo+x /usr/local/bin/wlan
and added the following to rc.xml:
<keybind key="XF86WLAN">
<action name="Execute">
<command>wlan toggle</command>
</action>
</keybind>
A logout and/or reboot might be needed. You should not need sudo rights to run this script.
Offline