

Dolphin Service Menus

Dolphin Folder Color
Dolphin Service Menus by audoban 47 comments
running the script directly i got the following error:
./dolphin-folder-color.sh: line 82: /.directory-16230: Permission denied
cat: /.directory-16230: No such file or directory
rm: cannot remove ‘/.directory-16230’: No such file or directory
It seems that LMDE and Linux Mint (thus Debian/Ubuntu) do not automatically create the $TMPDIR variable used in dolphin-folder-color.sh line 28
it worked when i replaced
tmp=$TMPDIR/$desktopEntry-$PPID
with
tmp=/tmp/$desktopEntry-$PPID - Feb 26 2015
./dolphin-folder-color.sh: line 82: /.directory-16230: Permission denied
cat: /.directory-16230: No such file or directory
rm: cannot remove ‘/.directory-16230’: No such file or directory
It seems that LMDE and Linux Mint (thus Debian/Ubuntu) do not automatically create the $TMPDIR variable used in dolphin-folder-color.sh line 28
it worked when i replaced
tmp=$TMPDIR/$desktopEntry-$PPID
with
tmp=/tmp/$desktopEntry-$PPID - Feb 26 2015