Page 1 of 1

[DELETE]MD5sum calulation and check with Xclip

Posted: Wed 13 Jun 2012, 21:05
by don570
MD5sum calulation and check with xclip

Please go to this page for better app
http://murga-linux.com/puppy/viewtopic. ... 777#635777


[delete because this method doesn't work reliably]

The following is a method of MD5sum calculation as well as
checking that was brought to my attention by forum member
seaside. It has been internationalized with locals.

Instructions for MD5sum calculation : Right click on a file

Image

Instructions for checking MD5sum of downloaded file:
Download sites often have the MD5sum listed. Just highlite this
sum or copy it to the clipboard.

Image

Then right click on a downloaded file and choose the 'Clipboard MD5sum check'
A message will say either 'Success' or 'Failure'. Failure means you
will have to download the file again. :cry:

Image



Requirements: xclip must be installed. Barry Kauler
puts this in his distributions and it's in Lucid Puppy as well
but some other distributions (exprimo and saluki)
need it to be installed so I have made a pet package
of xclip available at bottom of this post.

___________________________________________[/url]

source file

Posted: Thu 14 Jun 2012, 14:32
by KJ
I loaded up your md5sum pet on Fluppy and Saluki. Easy to use and works well on both OSs. Fluppy uses Rox so the right click options are directly accessible. In Saluki with Thunar the right click options are under "send to".

An interesting note, If I highlite or "copy" a MD5 sum to the clipboard (from a locally saved MD5sum file opened in a text editor (geany)) the sum file must stay open to be correctly read. Closing the sum file before running the md5sum checker will result in an immediate "Failure" when the MD5 sum is actually correct.

Edit: Web pages may be open or closed for copied md5sums to work. KJ

Posted: Sat 16 Jun 2012, 17:21
by don570
An interesting note, If I highlite or "copy" a MD5 sum to the clipboard (from a locally saved MD5sum file opened in a text editor (geany)) the sum file must stay open to be correctly read. Closing the sum file before running the md5sum checker will result in an immediate "Failure" when the MD5 sum is actually correct.
Thanks for the info. I have always had problems tranferring
data in the clipboard between geany and Rox.

For instance when I want to transfer a filename to Geany, I select the
icon in Rox and do a right click 'Rename' to get the name,
But I find that the 'Rename' box must remain open
while the clipboard is being used.

In other words the closing of the 'Rename' box
extinguishes the clipboard :cry: It's one of the most
irritating things about Puppy Linux.

___________________________________________

Posted: Mon 18 Jun 2012, 23:32
by seaside
Perhaps this may help.

Generally, if you right-click on a file in order to get the file name, the initial highlighted area is in the selection buffer and IS NOT on the clipboard. In that case, it can only paste somewhere using the center wheel click.

On the other hand, if you right-click a file to get the file name and CTRL-C or CTRL-A to highlight the entire path/filename and then CTRL-C, it is on the clipboard.

If in a text editor and a line is selected, it is usually only in the selection buffer and is pasted with a center wheel click.

Usually, anytime a CTRL-C is made on a highlighted selection, the item goes to the clipboard.

Cheers,
s

Posted: Tue 19 Jun 2012, 21:37
by don570
This software just doesn't work correctly . It must be
the clipboard.

So I just made the calculation of the MD5sum available
by itself.

http://murga-linux.com/puppy/viewtopic.php?t=79147
_________________________________________