Re: Confused with setting .keys file.



> Follow /usr/share/mime-info/abiword.keys and /usr/share/mime-info/abiword.mime,
> I create belwo two files: test.mime and test.keys.
> //test.mime
> application/testmime: 
>     ext: tst
> 
> //test.keys
> text/abiword:
>     open=testapp %f
>     edit=testapp %f
>     print=testapp %f
> 
> 
> I checked that testapp is in the current PATH. While I launch nautilus, and right
> click a file with .tst extension, there are only "open", "open in new window", and
> "open with" submenus in the popup menu. There are no "edit" or "print" submenus as
> in windows, and testapp is not listed in the "open with" submenu. 

> Then why the verbs could be shown in Nautilus? Is this a problem with Nautilus
> instead ? How could I register a new file type and the "edit"/"print" verbs ?

I believe Nautilus always show the open/open with verbs, but can't show
other things

If you want nautilus to pick up more easily your app, you may need to
add short_list_application_ids to your .keys file, see the totem .keys
file for an example

Christophe

Attachment: signature.asc
Description: Ceci est une partie de message =?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]