I created some shortcuts to control the audio volume of my laptop, as the default system shortcuts ( Fn + F4 / F5) aren't supported. I downloaded a script which allows me to increase/decrease/mute PulseAudio volume.
I created some script which contains the order of increasing/decreasing the volume:
The problem is, each time it is executed, it creates a "pavolume" file in my home dir that I don't want. Thus, I added "rm pavolume" next to the previous command:
pulseaudio_volume-decrease.sh; rm pavolume
When I run it from the terminal, everything is fine; but, strangely, when I call the shortcut (with Gnome 'Keyboard' settings), it fails, telling me "Error while trying to run (pulseaudio_volume-decrease.sh;rm pavolume) which is linked to the key (Shift + F5)".
What have I done wrong?
I am running on Ubuntu 2D (Unity) 11.10