Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 22700 ideas, 138270 comments, 2629576 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #14549: Create GUI-frontend to md5sum and run it when opening *.md5 file

Written by n0s0r0g the 18 Oct 08 at 20:15. Related project: Nautilus. Status: New
Rationale
It's very useful to check consistency of download data (such as Ubuntu distribution).
But I know only command-line way.
Tags: md5

39
votes
up equal down
Solution #1: GUI-frontend to md5sum
Written by n0s0r0g the 18 Oct 08 at 20:15.
My solution is to create GUI-frontend to md5sum and run it when opening *.md5 file.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
Eldmannen wrote on the 18 Oct 08 at 21:21
Yeah, it would be nice with a GUI tool that allowed you to verify MD5 checksums.
Also SHA1 would be nice.

Eldmannen wrote on the 18 Oct 08 at 21:22
Someone, please create such a simple little GUI tool, and put it in the repository.

Emacs23 wrote on the 18 Oct 08 at 21:52
-1.
It is not so frequent task to make a gui for that. Make it through terminal is much more natural than using gui. You better use crappy m$ windows with its overcomplicated and unintuitive interface if this reason doesn't persuade you.

zzrough wrote on the 18 Oct 08 at 22:11
I really don't think the casual user will ever want to match checksums. Plus GUIs already exist to do that...

-1

dburanen wrote on the 19 Oct 08 at 03:25
already there.

sudo apt-get install gtkhash

you might be able to click this, but i'm not sure if brainstorm support apturl. apturl://gtkhash

Someone mark this as done!

n0s0r0g wrote on the 19 Oct 08 at 07:47
Thank you!

I'm searching from "Add/Remove Programs" with strings "md5" and "hash". I find nothing.

Psycho_zs wrote on the 19 Oct 08 at 09:53
add/remove... - is a stupid app, use synaptic!

gtkhash - is a good and powerful app, but lacks desktop integration and some automations. Would be nice to see some enhancements...

Emacs23 wrote on the 19 Oct 08 at 14:54
synaptic is a stupid app, use apt-cache.
As I have said already, md5 check is not the task to make gui for.

Auzy wrote on the 20 Oct 08 at 00:03
@emacs, You are the grandmaster of flamebait

onesimus wrote on the 11 Nov 08 at 19:53
I think the casual user will want to match checksums. I think we have to assume that anyone who installs ubuntu is a casual user, and we are instructed in very clear terms that before the ISO file is burnt to CD we should be running md5sum. In addition, anyone who has problems with an installation tends to be told to match the checksums.

I believe a GUI that is integrated into the desktop would be a very useful tool. I could see it being of a great benefit to anyone that suffers from dyslexia. I find it a challenge to ensure a 32 length alpha-numeric sequence matches with what is displayed on ubuntu-hash page (and I do not suffer from it). I imagine it would be nigh on impossible to ensure checksums match if you do suffer from dyslexia. It would be a very simple task to cut and paste the checksum into a text box and get the GUI to check it. Not all GUIs need to be complicated, but are there to ease tasks.

It could maybe be a plug-in into Nautilus (?)

win_with_ben wrote on the 5 Jan 09 at 04:32
[Solved] .......MD5 gui on right-click......for Gnome with Nautilus and/or Thunar

This can be done, but it takes a little tinkering. I'm not aware of a standalone binary, so I will provide you with the scripts so you can right click on a file and have md5, sha1, sha256, tiger, and whirlpool hash digests pop-up automatically. First, you'll need a couple packages, md5deep and scite:

~: sudo apt-get md5deep scite

Open scite (or you other favorite editor), paste in the following script, and save it to /home/username/.gnome2/nautilus-scripts/:

#! /bin/sh
tmp_file1="/tmp/md5"
tmp_file2="/tmp/sha1"
tmp_file3="/tmp/sha256"
tmp_file4="/tmp/tiger"
tmp_file5="/tmp/whirlpool"
md5deep $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS > $tmp_file1
sha1deep $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS > $tmp_file2
sha256deep $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS > $tmp_file3
tigerdeep $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS > $tmp_file4
whirlpooldeep $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS > $tmp_file5
scite "$tmp_file5" "$tmp_file4" "$tmp_file3" "$tmp_file2" "$tmp_file1"
sleep 3s
rm $tmp_file1
rm $tmp_file2
rm $tmp_file3
rm $tmp_file4
rm $tmp_file5
exit 0

Name it 'Hash', and BE SURE to make it executable with 'chmod +x Hash' or use right click>properties> permissions. Now when you right click on a file (using the Nautilus file manager) you should see a Scripts> entry which opens to reveal Hash. Click it after selecting a file (not a directory) and you should have a Scite window come up w/ five tabs labeled by hash algorithm and containg the calculated hash, along with the path to the file used. One down side: File_Names_Cannot_Contain_Spaces. Either rename your files, use md5sum at the command line, or you can use Thunar. Thunar can handle file names w/ spaces using this method:

Using Thunar: go to Edit>Configure custom actions>Add action. Give it a name and description. Now time to paste in the command. You'll need to re-open the script we used above, and make a couple smalll changes. Work on a copy so the original script will still work with Nautilus.
1. Delete the first line (#! /bin/sh)
2. Where ever you see $NAUTILUS_SCRIPT_SELECTED_FILE_PATHS replace that with 0
3. Now copy and paste the whole thing into the Command box.
4. Select all the boxes under Appearance conditions, and click ok.
Now when you right click on a file in Thunar, you'll have the option to calculate the hashes under the name you gave your custom action.
One last thing. If you don't get all five tabs pop up in Scite, you may need to enbale it in your global options. Hope this works for you. I think it's freakin sweet!

win_with_ben wrote on the 5 Jan 09 at 04:38
The website modded my post. The end of line #2 under Thunar should be percent sign letter f, get it? or shift+5 key f (US kybrd)

andruk (Idea reviewer) wrote on the 1 Feb 09 at 17:31
This should be a plugin for Nautilus, and should appear in the properties as a tab called "Hashes".

friday wrote on the 7 Jun 09 at 19:37
None of the people claiming to have solved this has even read the headline. This is not for creating a checksum but for opening/verifying a checksum file by clicking at it.

None of the -1 people understood it either. Yes, currently it isn't easier to verify a checksum file in a GUI, which is because you have to go to the ubuntu menu, open the program, browse for the file etc. THAT is what this idea is about. If you already have clicked your way to the folder the md5file is Right-clicking and selecting

andruk (Idea reviewer) wrote on the 15 Feb 10 at 08:56
Updated rationale so solution is now in solution section and rationale section only contains rationale.

ariel wrote on the 23 Nov 11 at 00:10
Here is a working solution for this idea:

http://gnome-look.org/content/show.php?action=content&content=129309

it integrates with nautilus via right-click context menu.


Post your comment