Re: xdg-mime

2020-09-07 Thread Andrei POPESCU
On Sb, 05 sep 20, 12:07:17, Rainer Dorsch wrote:
> Hi,
> 
> is there a way to find out where xdg-mime gets its configuration from?
> 
> I have
> 
> $ xdg-mime query default application/pdf
> gimp.desktop
> $ 
> 
> but I would have expected okular.
> 
> Just wondering if this is a wrong user configuration or if the problem is 
> system wide...

Poking around my system I found /etc/mime.types, it might give you a 
start.

xdg-mime(1) also mentions the "Shared MIME database specification", 
which I'm guessing will have all you need.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


xdg-mime

2020-09-05 Thread Rainer Dorsch
Hi,

is there a way to find out where xdg-mime gets its configuration from?

I have

$ xdg-mime query default application/pdf
gimp.desktop
$ 

but I would have expected okular.

Just wondering if this is a wrong user configuration or if the problem is 
system wide...

Thanks
Rainer