-
Open “/etc/triggerhappy/triggers.d/audio.conf” with nano (editor):
sudo nano /etc/triggerhappy/triggers.d/audio.conf
Edit the content as described by @adaptiman here.
To exit nano and save the file hit Ctrl+x then y and Enter.
- Restart triggerhappy.service executing
systemctl restart triggerhappy.service