Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #226709 > unrolled thread

xdg-mime

Started byRainer Dorsch <contact@bokomoko.de>
First post2020-09-05 13:10 +0200
Last post2020-09-07 12:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  xdg-mime Rainer Dorsch <contact@bokomoko.de> - 2020-09-05 13:10 +0200
    Re: xdg-mime Andrei POPESCU <andreimpopescu@gmail.com> - 2020-09-07 12:00 +0200

#226709 — xdg-mime

FromRainer Dorsch <contact@bokomoko.de>
Date2020-09-05 13:10 +0200
Subjectxdg-mime
Message-ID<ALEeZ-1I4-5@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#226739

FromAndrei POPESCU <andreimpopescu@gmail.com>
Date2020-09-07 12:00 +0200
Message-ID<AMm6l-4x3-1@gated-at.bofh.it>
In reply to#226709

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web