On Wed, Dec 12, 2012 at 4:09 PM, Marcel Stimberg
<stimb...@users.sourceforge.net> wrote:
>> Turns out that if I specify the rule for "*.txt" indeed ubuntu /
>> nautilus get it right, but now several other appplications (based on
>> spec < 0.16) think all text files are zim pages :(

> oh, that's bad news :-/ Could you be a bit more specific about which
> other applications have issues? If it is a Ubuntu vs. other
> distributions thing, we could keep the change for Ubuntu as a patch in
> the Ubuntu package at least? Either way, it seems that the only
> generally applicable solution is to change the file extension...

For one the python "xdg" module implements the old spec - that is how
I found out, zim itself can no longer tell text files apart when I
define the glob.

Then I tested the perl File::MimeInfo library (disclaimer: I wrote
this one myself a few years back) and it has the same flaw, so it is
not implementation specific, but really depends on how the spec works
out for this case :(

This will affect all other applications using the same libraries.

Arguably these libraries should be fixed. Plus we should test what is
implemented in KDE / xfce / ... to test we don't break any mayor
desktop environment.

Regards,

Jaap

_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to