MD5sum calulation and check with xclip
EDIT: WARNING !! This method doesn't work correctly.
because Thunar keeps an icon focused and selected
Therefore clipboard info can't be tranferred to program
Available here as two modules in one archive. Uncompress please
and install both modules. A re-login is sometimes necessary
to get the text to show in the SendTo menu.
http://www.datafilehost.com/download-ee584edd.html
The following is a method of MD5sum calculation as well as
checking. It is meant to replace bigger software that does the same thing.
It has been internationalized with locals.
Instructions for MD5sum calulation : Right click on a file
Instructions for checking MD5sum of downloaded file:
Download sites often have the MD5sum listed. Just highlite this
sum or copy it to the clipboard.
Then rightclick 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.
___________________________________________________________________________
MD5sum check from clipboard selection(doesn't work)
MD5sum check from clipboard selection(doesn't work)
Last edited by don570 on 16 Jun 2012, 16:31, edited 1 time in total.
Re: MD5sum check from clipboard selection
Very Useful to check the integrity of an ISO file !
NjVFQzY2Rg==
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: MD5sum check from clipboard selection
More useful if we could port to dolphin, konqueror and pcmanfm aswell.
Any reason there is spaces in the filenames for .desktop files?
Any reason there is spaces in the filenames for .desktop files?
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: MD5sum check from clipboard selection
WARNING!
I discovered that this method doesn't work properly with
Porteus. I believe the problem is based on how focusing
of icons is done by Thunar in Porteus. In Jemimah's Saluki
(which also uses Thunar) the focusing of icons is done in such
a way that the clipboard isn't affected. This means that the clipboard
will still contain the MD5sum when the script is executed.
The script was actually developed for Rox filer which keeps it's
icons unfocused and therefore unselected. The method works
very well with Rox
The reason why I put spaces in the desktop filename is because
those words appear in the Thunar SendTo folder (apparently??)
I think this is a feature of Thunar.
My big problem is how do I install in a users home folder.
I need a pinstall.sh script like Puppy linux supports.
That way I could find the location of user's home folder
and install to SendTo folder of user.
______________________________________________________
I discovered that this method doesn't work properly with
Porteus. I believe the problem is based on how focusing
of icons is done by Thunar in Porteus. In Jemimah's Saluki
(which also uses Thunar) the focusing of icons is done in such
a way that the clipboard isn't affected. This means that the clipboard
will still contain the MD5sum when the script is executed.
The script was actually developed for Rox filer which keeps it's
icons unfocused and therefore unselected. The method works
very well with Rox
The reason why I put spaces in the desktop filename is because
those words appear in the Thunar SendTo folder (apparently??)
I think this is a feature of Thunar.
My big problem is how do I install in a users home folder.
I need a pinstall.sh script like Puppy linux supports.
That way I could find the location of user's home folder
and install to SendTo folder of user.
______________________________________________________
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: MD5sum check from clipboard selection(doesn't work)
Here is a version i wrote for Trinity (konqueror) service menu. It supports md5, sha1, sha224, sha256, sha384 & sha512 checksums. It was written and tested on latest v1.2rc2. It will ship in i486 v1.2 final.
Just copy the checksum link from the website or file. Right click on the file you want to check and choose the checksum option. It will auto sniff the checksum type and compare to clipboard. Let me know of any bugs. I'll whip something up for dolphin and thunar & pcmanfm shortly.
Download here
BTW: If writing something for a servicemenu operation, it is sometimes best to write the scripIt was written and tested on latest v1.2rc2.t and drop it into /opt/porteus/scripts/whatever and then let the .desktop file point to the script. In this way the different window managers just need to create a .desktop file and you have a universal script for all desktops.
Thanks for the inspiration don ... a nice idea. Keep em coming!!
Just copy the checksum link from the website or file. Right click on the file you want to check and choose the checksum option. It will auto sniff the checksum type and compare to clipboard. Let me know of any bugs. I'll whip something up for dolphin and thunar & pcmanfm shortly.
Download here
BTW: If writing something for a servicemenu operation, it is sometimes best to write the scripIt was written and tested on latest v1.2rc2.t and drop it into /opt/porteus/scripts/whatever and then let the .desktop file point to the script. In this way the different window managers just need to create a .desktop file and you have a universal script for all desktops.
Thanks for the inspiration don ... a nice idea. Keep em coming!!
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.