I have tried multiple variations to this script but I cannot get it to work. The UDEV Rule fires the script and the script exectutes but simply does not change the audio profile. If I run the script manually in terminal, it works but not when the UDEV Rule fires it... please help, thank you.Tl; DrUdev fires script but does not switch audio profile and no notification is shown.Manually running in terminal leads to the audio profile being switched with the notification correctly shown.UPDATE: When adding a check on if the command worked, it reports that it failed. Here is a link to my whole script.
Ubuntu 14.04 HDMI UDev Script
bash;ubuntu;shell script;udev