Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
On 12/02/2016 16:25, Jaap Karssenberg wrote:
> Sure, go ahead
>
> On Fri, Feb 12, 2016 at 4:24 PM, Sylvain Viart  > wrote:
>
> Do you want I create an issue for this on launchpad?
>

https://bugs.launchpad.net/zim/+bug/1545064

Sylvain.
___
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


Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart


On 12/02/2016 15:42, Jaap Karssenberg wrote:
> Not a bug perse, as zim works as intended. However it follows the 2012
> implementation of the xdg tools. In the meantime they seem to have
> adopted another file for storing defaults, so zim could be updated
> accordingly.

Seems like something need to be updated, so.
I may have used the word ticket/issue instead of bug. ;-)

Do you want I create an issue for this on launchpad?

Regards,
Sylvain.

___
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


Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Jaap Karssenberg
Sure, go ahead

-- Jaap

On Fri, Feb 12, 2016 at 4:24 PM, Sylvain Viart 
wrote:

>
>
> On 12/02/2016 15:42, Jaap Karssenberg wrote:
> > Not a bug perse, as zim works as intended. However it follows the 2012
> > implementation of the xdg tools. In the meantime they seem to have
> > adopted another file for storing defaults, so zim could be updated
> > accordingly.
>
> Seems like something need to be updated, so.
> I may have used the word ticket/issue instead of bug. ;-)
>
> Do you want I create an issue for this on launchpad?
>
> Regards,
> Sylvain.
>
> ___
> 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
>
___
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


Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Jaap Karssenberg
Not a bug perse, as zim works as intended. However it follows the 2012
implementation of the xdg tools. In the meantime they seem to have adopted
another file for storing defaults, so zim could be updated accordingly.

-- Jaap


On Fri, Feb 12, 2016 at 2:48 PM, Sylvain Viart 
wrote:

> Jaap,
>
> Le 12/02/2016 13:20, Jaap Karssenberg a écrit :
>
> On Fri, Feb 12, 2016 at 12:12 PM, Sylvain Viart 
> wrote:
>
>> How does Zim handle mime types?
>>
>
>
> Zim follows the XDG spec, so behavior should be the same as XFCE. The
> reference application to test is "xdg-open". This is a commandline tool to
> open a file according to mimetype.
>
>
> xdg-open ~/somfile.ods
>
> works
>
> still not from zim. Curious. I logged out/in already…
>
> However fixing in zim is easy, just right-click on the link and go to the
> "open with" menu. There is a menu item to change the default.
>
>
> OK, nice.
>
> So both Gnumeric and Calc are listed.
> If I follow "Customize" 3rd choice, I effectively have a choice. Gnumeric
> as first.
> Zim stay on Gnumeric if I choose "System default".
>
> Do we have a bug here?
>
> Selecting Calc works fine, even for other .ods links, thanks!
>
> Regards,
> Sylvain.
>
> ___
> 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
>
>
___
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


Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
Jaap,

Le 12/02/2016 13:20, Jaap Karssenberg a écrit :
> On Fri, Feb 12, 2016 at 12:12 PM, Sylvain Viart
> mailto:launch...@ledragon.net>> wrote:
>
> How does Zim handle mime types?
>
>
>
> Zim follows the XDG spec, so behavior should be the same as XFCE. The
> reference application to test is "xdg-open". This is a commandline
> tool to open a file according to mimetype.
>

xdg-open ~/somfile.ods

works

still not from zim. Curious. I logged out/in already…

> However fixing in zim is easy, just right-click on the link and go to
> the "open with" menu. There is a menu item to change the default.

OK, nice.

So both Gnumeric and Calc are listed.
If I follow "Customize" 3rd choice, I effectively have a choice.
Gnumeric as first.
Zim stay on Gnumeric if I choose "System default".

Do we have a bug here?

Selecting Calc works fine, even for other .ods links, thanks!

Regards,
Sylvain.
___
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


Re: [Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Jaap Karssenberg
On Fri, Feb 12, 2016 at 12:12 PM, Sylvain Viart 
wrote:

> Hi,
>
> I've a link in a page
>
> ~/somfile.ods
>
> (inserted with ctrl-L)
>
> When I click on in, zim still continue to open gnumeric instead of Calc?
>
> I modified my mine types and it works in Thunar, xfce filemanager under
> GNU/Linux.
>
> Zim 0.65
>
> I've both Gnumeric and Clac installed.
>
> How does Zim handle mime types?
>


Zim follows the XDG spec, so behavior should be the same as XFCE. The
reference application to test is "xdg-open". This is a commandline tool to
open a file according to mimetype.

However fixing in zim is easy, just right-click on the link and go to the
"open with" menu. There is a menu item to change the default.

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


[Zim-wiki] mime types and link to libre office .ods still open gnumeric?

2016-02-12 Thread Sylvain Viart
Hi,

I've a link in a page

~/somfile.ods

(inserted with ctrl-L)

When I click on in, zim still continue to open gnumeric instead of Calc?

I modified my mine types and it works in Thunar, xfce filemanager under
GNU/Linux.

Zim 0.65

I've both Gnumeric and Clac installed.

How does Zim handle mime types?

Regards,
Sylvain.



___
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