summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/servicemenus/imageconverter.desktop9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/servicemenus/imageconverter.desktop b/src/servicemenus/imageconverter.desktop
index c7b464c..8da4b6f 100644
--- a/src/servicemenus/imageconverter.desktop
+++ b/src/servicemenus/imageconverter.desktop
@@ -11,20 +11,19 @@ TryExec=convert
[Desktop Action convToJPEG]
Name=JPEG
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.jpg"
+Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.jpg"
[Desktop Action convToPNG]
Name=PNG
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.png"
+Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.png"
[Desktop Action convToTIF]
Name=TIF
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.tif"
+Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.tif"
[Desktop Action convToGIF]
Name=GIF
Icon=image-x-generic
-Exec=convert %f "`echo %f | perl -pe 's/\.[^.]+$//'`.gif"
-
+Exec=convert %f "`echo %f | perl -pe 's/\.[^.\/]+\n//'`.gif"