Re: [e-users] xdg-open troubles

2018-11-05 Thread The Rasterman
On Sun, 4 Nov 2018 14:44:59 + Peter Flynn said: > On 04/11/2018 13:14, Carsten Haitzler (The Rasterman) wrote: > [...] > > it'll pick one of whatever app says it can open that mime type... > > whatever comes first that it finds, > > That was my understanding also. But it doesn't: > > *

Re: [e-users] xdg-open troubles

2018-11-04 Thread Peter Flynn
On 04/11/2018 13:14, Carsten Haitzler (The Rasterman) wrote: [...] > it'll pick one of whatever app says it can open that mime type... > whatever comes first that it finds, That was my understanding also. But it doesn't: * /usr/share/applications/mimeinfo.cache says (simplified)

Re: [e-users] xdg-open troubles

2018-11-04 Thread The Rasterman
On Fri, 2 Nov 2018 19:21:36 + Peter Flynn said: > xdg-open calls enlightenment_open to open a file with its nominated > handler. On my system, PDFs open with GIMP for some unfathomable reason, > and all my browsers are incapable of calling Thunderbird to open mailto: > links. > > How does

Re: [e-users] xdg-open troubles

2018-11-04 Thread Jérémy Zurcher
On Saturday 03 November 2018 11:49, Peter Flynn wrote : > On 03/11/2018 09:04, Jérémy Zurcher wrote: > > Hi, > > > > you should first debug xdg-... > > > > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'text/html' > > OK. > > > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'bad/wrong' -> to

Re: [e-users] xdg-open troubles

2018-11-03 Thread Peter Flynn
On 03/11/2018 18:28, Ross Vandegrift wrote: > On Sat, Nov 03, 2018 at 05:19:13PM +, Peter Flynn wrote: >> On 03/11/2018 11:49, Peter Flynn wrote: >> [...] >>> That seems to be clean, but /usr/share/applications/mimeinfo.cache >>> isn't. Can I just delete it manually, or is there a procedure

Re: [e-users] xdg-open troubles

2018-11-03 Thread Ross Vandegrift
On Sat, Nov 03, 2018 at 05:19:13PM +, Peter Flynn wrote: > On 03/11/2018 11:49, Peter Flynn wrote: > [...] > > That seems to be clean, but /usr/share/applications/mimeinfo.cache > > isn't. Can I just delete it manually, or is there a procedure to flush > > it out? > > I just edited it and

Re: [e-users] xdg-open troubles

2018-11-03 Thread Peter Flynn
On 03/11/2018 11:49, Peter Flynn wrote: [...] > That seems to be clean, but /usr/share/applications/mimeinfo.cache > isn't. Can I just delete it manually, or is there a procedure to flush > it out? I just edited it and removed the bogus association for GIMP. All working fine (but of course I

Re: [e-users] xdg-open troubles

2018-11-03 Thread Peter Flynn
On 03/11/2018 09:04, Jérémy Zurcher wrote: > Hi, > > you should first debug xdg-... > > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'text/html' OK. > XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'bad/wrong' -> to see what > files are read Now *that* was enormously useful, thank you.

Re: [e-users] xdg-open troubles

2018-11-03 Thread Jérémy Zurcher
Hi, you should first debug xdg-... XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'text/html' XDG_UTILS_DEBUG_LEVEL=2 xdg-mime query default 'bad/wrong' -> to see what files are read the enlightenment side is : src/bin/e_open.c:116 snprintf(path, sizeof(path), "%s/mimeapps.list",

Re: [e-users] xdg-open troubles

2018-11-02 Thread Peter Flynn
On 02/11/2018 21:05, Ross Vandegrift wrote: > On Fri, Nov 02, 2018 at 07:21:36PM +, Peter Flynn wrote: >> xdg-open calls enlightenment_open to open a file with its nominated >> handler. On my system, PDFs open with GIMP for some unfathomable reason, >> and all my browsers are incapable of

Re: [e-users] xdg-open troubles

2018-11-02 Thread Ross Vandegrift
On Fri, Nov 02, 2018 at 07:21:36PM +, Peter Flynn wrote: > xdg-open calls enlightenment_open to open a file with its nominated > handler. On my system, PDFs open with GIMP for some unfathomable reason, > and all my browsers are incapable of calling Thunderbird to open mailto: > links.

[e-users] xdg-open troubles

2018-11-02 Thread Peter Flynn
xdg-open calls enlightenment_open to open a file with its nominated handler. On my system, PDFs open with GIMP for some unfathomable reason, and all my browsers are incapable of calling Thunderbird to open mailto: links. How does enlightenment_open work? I must presumably be able to set each