![]() |
A simple way to check MD5sum - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Software - Support (https://www.linuxliteos.com/forums/forumdisplay.php?fid=5) +--- Forum: Tutorials (https://www.linuxliteos.com/forums/forumdisplay.php?fid=21) +--- Thread: A simple way to check MD5sum (/showthread.php?tid=751) |
A simple way to check MD5sum - anon222 - 08-20-2014 1. Open the Thunar file manager 2. Click on Edit and then on Configure custom actions 3. Add A new custom action by clicking on a '+' button 4. Enter this in the text boxes: Name: Check MD5 Description: Computes MD5 checksum for the selected file. Command: Code: zenity --info --title="Check MD5 for %n" --text="$(md5sum %f)" 5. Click on Appearance Conditions tab 6. In the File pattern enter: Code: *.iso;*.ISO;*.img;*.IMG If you have an .iso or .img file on the Desktop you will have to log out and back in to be able to use this. Now you can right-click on .iso or .img file and Check MD5. Re: A simple way to check MD5sum - Valtam - 08-20-2014 Another beauty, I might even add this to the next Linux Lite ![]() Re: A simple way to check MD5sum - rokytnji - 08-20-2014 Code: $ apt-cache policy zenity Looks like I will do this since zenity comes with the install already. Nice How to. Thanks. Edit: Done and Done. You might want to edit "Description: Cumputes MD5 checksum for the selected file." to Description: Computes MD5 checksum for the selected file. Code: ~$ ls PS. I appreciate work like this because I have myself done work like this. http://antix.freeforums.org/antix-11-eeepc-900-install-finished-t3104.html So when I say thanks. It comes from a compadre. Re: A simple way to check MD5sum - anon222 - 08-20-2014 (08-20-2014, 01:07 AM)Valtam link Wrote: Another beauty, I might even add this to the next Linux LiteThanks Valtam. I wasn't sure should I post this as a tutorial or a suggestion. It would be great to see that in the next LL. ![]() (08-20-2014, 02:30 AM)rokytnji link Wrote: Nice How to. Thanks. Edit: Done and Done. You might want to edit "Description: Cumputes MD5 checksum for the selected file." to Description: Computes MD5 checksum for the selected file.I mistyped that one, thank you. ![]() (08-20-2014, 02:30 AM)rokytnji link Wrote: PS. I appreciate work like this because I have myself done work like this. Thanks compadre. ![]() Re: A simple way to check MD5sum - anon222 - 10-10-2014 I've improved this. save this script to /usr/scripts name it md5 Code: #!/bin/bash Name: Check MD5 Description: Computes MD5 checksum for the selected file. Command: Code: /usr/scripts/md5 %f File pattern: Code: *.iso;*.ISO;*.img;*.IMG Re: A simple way to check MD5sum - rokytnji - 10-10-2014 Hey Bro. Trying it out. I am missing a step for sure. I get check md5 on right click but nothing happens. You know. Problem between keyboard and user. As usual. Code: harry@biker1:~$ cat /usr/scripts/md5 ![]() ![]() ![]() While in "gksu thunar" /( root thunar file manager). I made the md5 sum text file executable via right click. I also logged in and out a few times. But no joy bro. I can md5sum through terminal just fine as always. Just playing with your stuff to test out. Maybe a permissions issue? Re: A simple way to check MD5sum - anon222 - 10-10-2014 Hi rokytnji, you must make the script executable I missed to mention that step. ![]() Oh I see. ![]() You made the owner root switch it to harry Code: sudo chown -R harry /usr/scripts/md5 Re: A simple way to check MD5sum - rokytnji - 10-10-2014 Ok. Did That. Though I wonder if maybe it should be Code: sudo chown -R harry:harry /usr/scripts/md5 Because she still won't open . Let me check something. I do not feel like rebooting yet. I might be screwing up because of 2 Linux-Lite 2.0 installs on 2 different laptops. Code: ~$ apt-cache policy zenity No. That aint it. Here is relevant info Code: harry@biker1:~$ ls -l /usr/scripts/md5 and for double check before I posted. I did Code: harry@biker1:~$ sudo chmod +x /usr/scripts/md5 and logged in and out again to be double sure also. But nothing opens on my md5 right click thunar custom action on ~/isos/puppy/what ever iso I right click on. Maybe I am in a bad spot of the universe? :o Edit: Just in the off chance Code: sudo chmod a+x /usr/scripts/md5 plus a reboot gave no positive results either. At least one cannot say I aint trying. ![]() Re: A simple way to check MD5sum - anon222 - 10-11-2014 It's woking here ![]() https://www.youtube.com/watch?v=m9oTyvhE-MY&feature=youtu.be I made this other script, but it's not for thunar custom action. This script opens a dialog and then you choose a file. Code: #!/bin/bash Re: A simple way to check MD5sum - rokytnji - 10-11-2014 Cool. I am compiling urbanlightscape-1.3.3 at the moment. Then try checkinstall instead of makeinstall like you mentioned before in the vlc thread. I don't know where I screwed up using your instructions but I know the problem is with me. No biggy as I md5sum check through terminal anyways. As you see from my previous posts. I am a loosy goosy, not afeared, linux user. I am always experimenting. customising myself. For anyone reading this. Tintii does about the same thing as urban lightscape does and it is in Linux-Lite synaptic package manager. Code: harry@biker1:~$ apt-cache policy tintii I am just doing the urban lightscape for practice and grins. Edit: At least checkinstall worked out for me. My description was short and sweet . Photo editor like in photoshop. I did not create a installed doc. file though since it said generic and this .deb is only for me/myself/and I. Code: harry@biker1:~/Downloads/urbanlightscape-1.3.3$ ls ![]() |