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:
pulseaudio_volume-decrease.sh
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
pulseaudio_volume-decrease.sh
may be the one accidentally creating that file. Could you post that script?pulseaudio_volume > pavolume increase
...pulseaudio_volume increase
and writes the output (if any) to the filepavolume
, creating the file if it doesn't exist. So if you don't want that file to appear, remove> pavolume
from that line.