Verify checksums within Dolphin

Dolphin Service Menus

Source (required if based on other people's work):

0
Score 65%
Description:

UPDATED: New version works with Plasma5. MD5, SHA1 and SHA256 checksums supported.

Simple desktop file that adds checking md5sum, sha1 and sha256 to Dolphin via right clicking on any iso file.

To enable this function for all users, copy file to /usr/share/kservices5/ServiceMenus/.
For single user only access ~/.local/share/kservices5/ServiceMenus/ (your distro may use a slightly different location).
In either case make sure it's executable.

If you prefer to have the function available for all filetypes rather than just iso's - simply change the line

MimeType=application/x-iso;application/x-cd-image;inode/ISO-image;

to

MimeType=all/all;


If you prefer Clipboard rather than Notifier, install xsel and change the Exec line to:

Exec=md5sum %F | xsel -b

REQUIRES: libnotify-bin, xsel

hugolia

4 years ago

On Debian/Kubuntu systems add "libnotify-bin" package.

sudo apt-get install libnotify-bin

:)

Report

Seniazi

5 years ago

This is really useful! And by the way gave me the chance to see that making such service menus seems quite simple...maybe I' ll tweak this for sha256sum.

Report

Seniazi

5 years ago

Done.
It's here http://kde-look.org/content/show.php?content=154999

Report

prowlerxpla

5 years ago

on my opensuse tumbleweed with kde 4.8.5, I installed, rightclicked an iso file, choosed "read md5sum", a sort of blue "V" blink for about one minute then disappear, now, where should the md5sum be??:-)
ciao, pier.:-)

Report

C

oshunluvr

5 years ago

This ServiceMenu puts the checksum in the notifier. You should see a pop-up notification when it's done and the number will also be reviewable if you click on the notifier icon in the taskbar.

If you're not getting the info - it's likely a problem with your notifier.

You can change the location to the clipboard (see the above post)

Report

snock

6 years ago

Excellent, thank you. It could also send the md5sum to clipboard, serious simple and practical.

Report

C

oshunluvr

6 years ago

I prefer the notification method because the clipboard does not auto-pop open when the checksum is ready. You can cut and paste from the notifier if you wanted the output for something.

Anyway: If you want to use the clipboard, install xsel and use

Exec=md5sum %F | xsel -b

Report

Xplorer4x4

5 years ago

Hey oshunluvr, I like the use of the notification, but why not use the standard kdialog rather then requiring another notification package be installed?

Report

C

oshunluvr

5 years ago

Same reasons as my response above, but feel free to change it to use kdialog if you prefer it.

Report

Emdek

6 years ago

Nice idea. :-)

It don't need to be put in system directory. ;-)
It's enough to put it into:
~/.kde/share/kde4/services/ServiceMenus/
(or .kde4, depends on path used by distribution)

Also I'm not sure if it should be restricted to CD /DVD images, it's useful for all files (especially binary ones).

Report

gcala

6 years ago

...and why not coping the checksum on system clipboard?

Report

Emdek

6 years ago

Yep, that would be nice too, if there is way to do that using existing tools.

Report

C

oshunluvr

6 years ago

Your location is the best if you want it just for your user. I tend to work on multi-user systems so my location makes the function available to all users.

Good to point out the difference - thanks.

Report

Emdek

6 years ago

Sure, but this (single user) is probably the case most often. ;-)
In your place I would put both paths wit annotation that one will enable it to all users and other only for current user.

Report

C

oshunluvr

6 years ago

Done

Report

Emdek

6 years ago

Much better now, thanks. ;-)

Report

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling
Details
license
Creative Commons Attribution
version
0.2
updated Feb 14 2018
added Mar 09 2012
downloads today
0
page views today 3
System Tags addon cc-by