.desktop integration for command line app

Ben Boeckel MathStuf at gmail.com
Fri Sep 25 02:54:51 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

David Timms wrote:

> Hi, this is my first kde list post ;-)
> 
> I have a review request [1] up for tnef, a "transport neutral 
> encapsulation format" (ie outlook rich text email attachment 
decoder.
> 
> Since this is really just a command line program, I spent a 
bit of time 
> creating a shell script that can be called from gnome/nautilus 
file 
> manager, and which creates a directory of similar name to the 
file to 
> decode, and then extracts the contents of the archive into 
that folder.
> 
> Jason notes that this doesn't work for kde.
> 
> Unable to find any specific documents regarding this, I tried 
installing 
> kdebase, and trying it myself. What I found was that the mime-
type is 
> known about, and dolphin shows the match terms that I have 
written. 
> However, I am not automatically offered to extract the 
archive.
> 
> I was able to open with, choose the specific 
program/terminal/don't 
> close, and then it works OK.
> 
> 1. Would such integration of a command line program with the 
dolphin 
> filemanager be welcome ?
> 
> 2. Is there already kde/qt apps for extracting tnef archives 
guically 
> (new word) ?
> 
> 3. If not, where would be some info, on creating the open with 
> association within the rpm package spec, or hints on what to 
actually do ?
> 
> Regards,
> 
> David Timms.
> 
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=522920
> _______________________________________________
> fedora-kde mailing list
> fedora-kde at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/fedora-kde
> New to KDE4? - get help from http://userbase.kde.org

There are service menus you can add to handle specific filetypes 
(and execute commands). A KIO slave could do something similar 
as well, but it's a little more involved. If you really want it 
/in/ KDE, code for Ark to open such files would be best.

- --Ben
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQIcBAEBCAAGBQJKvDD7AAoJEKaxavVX4C1XYAMP/3CJk5Z/iX8FlzlKGacb4nQK
wQQriJnJ93t1l+N3aVZJF4IJzfRSD6z9NV/W545vNe5X9PClX40eKN0r8pYhkjhr
q5bJuarnmypOTyU6fR3kzqUIJ92mQ71GduHoUK5KmI6+fyhVvRN+E2hoOrbAc0f8
LVhcqTBL/+EIZAr6uYlAhVmQK8UF5AURKlMXT+5hLLsM+cUqTzF1aH9NxIHA88v8
3/+RTnvBqShiC1Qij9R3ENqD55HnqKExPJzWwCjOU+Xs4AaHmCclsiyG1V5/9BIM
unx5Di6R+ZjqfH6ZAB4KlCJN0gKeD1R65NTFTv57R1/1/78S6TazicblHrPtWrYu
uBUuqxMdqz0Y/6T/0Qx0WxB6xUDphFpltlIZQ6tjRC5Jk09wzIBSs2XlNazicv1y
6ubAVPA9vj92o0eQHnOiUzXxtl7L0lrQn4dUpByxx6o981ZCIiyV0gmOZEeIAC2A
vcly6VRzsFokuqQaPKZXsjTvZpLR/VpMCz3WdWS3NYA0nB6nYVDPfo01G3BMU1f8
tG1aVq4gRBmwHvr8ybAhzw2wdr8jTUtUxDvRv17/vGKTx4RQVi9Kipw5fQaJP3i5
vD4LcLKcUnZPLl1DgNaX2RcPPwQOi3c/+26+oVIrlNmLWkVqWIDxkqum/9DjCEg5
iOrkpu4YcU4J5g1GlPcR
=Mb92
-----END PGP SIGNATURE-----





More information about the kde mailing list