pupMd5sum - graphical checksum checker

Miscellaneous tools
Post Reply
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

pupMd5sum - graphical checksum checker

#1 Post by 01micko »

pupMd5sum

.. is a simple md5 checker that copies the functionality of a Windows version. It's tiny and works and is also gettexted (Google Spanish translation included, plus .pot file)

Use the file selector in the first entry to find the file to check, hit "calculate", paste in the actual md5sum provided by the file host in the "compare" entry box and hit the "compare" button.

***Requires gtkdialog4 (in the latest wary/racy/slacko/lupu/dpup)

Changelog
0.3 - first released version
0.4 - added splash for large files as checking takes some time, remove whitespace from compare entry if accidentally copied in extra whitespace
Attachments
pupmd5sum-0.4.pet
the pet, has a menu entry in 'utilities'
(7.91 KiB) Downloaded 815 times
pupmd5sum.png
How it looks
(19.64 KiB) Downloaded 1413 times
working.png
Spanish version in action, may need fixing by a native Spanish speaker :)
(28.61 KiB) Downloaded 1360 times
winMD5.png
The windows version
(38.11 KiB) Downloaded 1456 times
Puppy Linux Blog - contact me for access

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#2 Post by zigbert »

Don't know if it is of any interest, but you can check md5sum of burnt iso.

Code: Select all

# dd if=/dev/sr0 2> /dev/null | md5sum | cut -f 1 -d " "
1be85dd7cfacdb2f8591daa6bfd923eb
#
#
#
# md5sum /mnt/sdb1/puppy/iso/slacko-5.3.3-highmem-PAE-SCSI.iso | cut -f 1 -d " "
1be85dd7cfacdb2f8591daa6bfd923eb
And since you are using gtkdialog-splash, you might want to consider the updated version

Image

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#3 Post by zigbert »

Shame on you :D

Image
Attachments
md5icon.svg.png
png only for uploading - please rename
(534 Bytes) Downloaded 698 times

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupMd5sum-0.4s

#4 Post by shinobar »

#120701 v0.4s shinobar: accept paramater
Plus ROX-right-click
Attachments
pupmd5sum-0.4s.pet
(8.92 KiB) Downloaded 688 times
pupmd5sum-rclick.png
ROX-right-click
(5.73 KiB) Downloaded 1134 times
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#5 Post by don570 »

Note to Shinobar :

I tested it but there is a flaw

If there is any whitespace in path then it screws up.
This line could be the problem

Code: Select all

ENT3=$(echo -n "$ENT3"|sed 's/ //g') #remove whitespace with bad copy/paste 
I suggest something like this code to find the name of the file
Then cd to folder containing file
Then do MD5sum operation

Code: Select all

# find filename by removal between slashes
ENT3NAME="${ENT3##/*/}"


_____________

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

pupMd5sum-0.5

#6 Post by shinobar »

pupMd5sum-0.5.pet
http://shino.pos.to/party/bridge.cgi?puppy/opt/

#120701 v0.4s shinobar: accept paramater
#120715 v0.5 don570 and shinobar: fix spaces in path name, BASEDIR, more message
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#7 Post by 01micko »

I've added radiobutton for SHA1 too, but haven't merged recent patches, more later..
Puppy Linux Blog - contact me for access

User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#8 Post by Flash »

PPM said it installed in System but I found it in Utility where it was supposed to be.

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Category

#9 Post by shinobar »

Flash wrote:PPM said it installed in System but I found it in Utility where it was supposed to be.
Memo:
The pupMd5sum has:
Categories=X-SetupEntry

The ghasher has:
Categories=Utility;
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#10 Post by 01micko »

This one is patched for sha1 too, choice by radiobutton, however the rox-right-click defaults to md5, I don't think that is too much problem. Maybe a config file can fix that issue in case a user always wants to use sha1. Maybe next time.

Changed the name,icon and updated the .pot and the es translation with google, probably is a very bad translation!
Attachments
pupchecksum-0.1.pet
(6.64 KiB) Downloaded 610 times
capture20596.png
(15.26 KiB) Downloaded 967 times
Puppy Linux Blog - contact me for access

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#11 Post by don570 »

I made a new pet package adding the best of 01micko
and Shinobar's work plus added more file types
that have a right click (deltas and rpm)

I increased the version number --->pupmd5sum-0.6.pet

I used a new icon.

MD5 and sha-1 are calculated.

Pet package is available in next post...

_________________________________________
Last edited by don570 on Sat 08 Dec 2012, 20:16, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#12 Post by don570 »

I decided to convert the warning messages to Xdialog (from gtkdialog-splash)
since this will allow the package to be installed in more linux distributions. :lol:
See next post....
_________________________________________________
Last edited by don570 on Thu 13 Dec 2012, 01:20, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

compatible with thunar

#13 Post by don570 »

I did a check with Carolina distro which uses Thunar file manager
and realised that compatibility with Thunar is important.

Check under 'SendTo' menu.

Image

__________________________________________________________
Last edited by don570 on Thu 20 Dec 2012, 01:12, edited 1 time in total.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

saving of the MD5 sum

#14 Post by don570 »

The saving of the MD5 sum is now possible with the
click of a button.

___________________________________________________
Attachments
pupmd5sum-1.0.pet
Save md5 sum possible
(5.7 KiB) Downloaded 627 times

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

new version 1.0

#15 Post by don570 »

version 1.0

1) put in 'Saving to disk' Yaf-splash

2) The text file now will handle spaces in file name

_______________________________________________

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#16 Post by don570 »

Version 1.1 available here

I made a proper gettext translation into French German and Spanish
and decided to give it a webpage by itself. It requires
gettext to be installed.

_______________________________________________

Post Reply