Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

quick md5 or sha* sum on right click in Xwindow

5 views
Skip to first unread message

heavytull

unread,
Aug 23, 2008, 11:24:52 AM8/23/08
to
is there a simple Open source software that allows to get quickly the
md5sum or sha*sum of a file in an option in the right click contextual
menu in an environment like KDE?

Bit Twister

unread,
Aug 23, 2008, 12:45:17 PM8/23/08
to

Only thing I can think of is something like
xterm -e md5sum fn_of_intrest_here
in the Run selection of the menu.

Unruh

unread,
Aug 23, 2008, 1:03:54 PM8/23/08
to
heavytull <heav...@hotmail.com> writes:

That would be a bit useless since you have to say which file it is. Now one
could construct a whole gui interface, but surely typing
md5sum filename
is faster than any gui.


SINNER

unread,
Aug 23, 2008, 1:20:00 PM8/23/08
to

This help?:

http://ketsugi.com/software/graphical-md5sum-generation/

Written for GNome and not sure if there is a way to apply to KDE but...

Script is on page 2
--
David | Fight Back! <http://improve-usenet.org/>
Kansas state law requires pedestrians crossing the highways at night to
wear tail lights.

heavytull

unread,
Aug 23, 2008, 5:41:45 PM8/23/08
to
On Aug 23, 7:03 pm, Unruh <unruh-s...@physics.ubc.ca> wrote:

i'm not talking about that fastness.
by "quickly" I mean "simple" or even "the simplest way" actually.
that's quite obvious that a software with GUI might require more CPU
load. Unless the GUI-less program is written by a pig while the GUI-
pro in a smarter way.
Actually the program I'm seeking should use the provided corresponding
command line programs by show the result in a small window from
desktop environment provided libraries. Then for the second file the
hashcode should be printed in the same window but just below the
previous hash.
I could myself do that but i need to study a bit of KDE not as a user
but as a developer.

jellybean stonerfish

unread,
Aug 23, 2008, 6:41:17 PM8/23/08
to

I just made a one line script and saved it as
"/usr/share/nautilus-scripts/md5sum." It looks like this.

$ cat/usr/share/nautilus-scripts/md5sum
#!/bin/bash

md5sum $* | xmessage -file -


I have nautilus-script-manager so I enabled this script with,
"nautilus-script-manager enable md5sum". You should be able to save this
script someplace and call it with kde in some manner. I don't use kde,
so I can't help you there.

Florian Diesch

unread,
Aug 23, 2008, 7:30:41 PM8/23/08
to
heavytull <heav...@hotmail.com> wrote:

Shouldn't be that difficult to write a nautilus script for that, tell
me if you need that.


Florian
--
<http://www.florian-diesch.de/>
-----------------------------------------------------------------------
** Hi! I'm a signature virus! Copy me into your signature, please! **
-----------------------------------------------------------------------

David W. Hodgins

unread,
Aug 24, 2008, 12:12:17 AM8/24/08
to
On Sat, 23 Aug 2008 18:41:17 -0400, jellybean stonerfish <stone...@geocities.com> wrote:

> I just made a one line script and saved it as
> "/usr/share/nautilus-scripts/md5sum." It looks like this.
> $ cat/usr/share/nautilus-scripts/md5sum
> #!/bin/bash
>
> md5sum $* | xmessage -file -

And to add an action to the context menu, for all files under konqueror ...
$ cat ~/.kde/share/apps/konqueror/servicemenus/md5sum.desktop
=============== Cut Here ==================
[Desktop Entry]
Actions=MD5SUMFile;
Encoding=UTF-8
ServiceTypes=all/all

[Desktop Action MD5SUMFile]
Exec=md5sum %F | xmessage -file -
Name=MD5SUM File

=============== Cut Here ==================

See http://developer.kde.org/documentation/tutorials/dot/servicemenus.html
for details.

Regards, Dave Hodgins

--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)

F8BOE

unread,
Aug 25, 2008, 3:22:28 AM8/25/08
to
heavytull wrote:


man md5sum in the Konsole?

0 new messages