I do a reasonable amount of downloading iso files and making bootable cd's or usb sticks. I wanted an easy way to check the md5 sum without opening a terminal so I decided to create a servicemenu to do it:
This works OK but won't work if I select multiple files although md5sum handles multiple files just fine. Is there a variable that will make this work or do I have to go to a script?
EDIT: Fixed it myself - removed quotes around %F and works like a charm.
For those of you who might want to copy (I already removed the troublesome quotes in the above code) and use this, the file goes into /usr/share/kde4/services/ServiceMenus - name it whatever you like just end the name with .desktop and cut and paste the above code into it.
Code:
[Desktop Entry] Type=Service ServiceTypes=KonqPopupMenu/Plugin MimeType=application/x-cd-image;application/x-iso;application/x-mdf;application/x-nrg;application/x-iso9660-image; Icon=dialog-ok Actions=checkmd5; TryExec=md5sum [Desktop Action checkmd5] Name=Read md5 Checksum Icon=dialog-ok Exec=md5sum %F | zenity --text-info --width 800 --title Checksum
EDIT: Fixed it myself - removed quotes around %F and works like a charm.
For those of you who might want to copy (I already removed the troublesome quotes in the above code) and use this, the file goes into /usr/share/kde4/services/ServiceMenus - name it whatever you like just end the name with .desktop and cut and paste the above code into it.