Gentoo Archives: gentoo-user

From: Paul Colquhoun <paulcol@×××××××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] xdg-open opens pdf with gimp
Date: Tue, 07 Jun 2016 12:16:23
Message-Id: 4006336.jCDnqQZln6@bluering
In Reply to: [gentoo-user] xdg-open opens pdf with gimp by sven.garbade@evall.org
1 On Tue, 7 Jun 2016 13:42:11 sven.garbade@×××××.org wrote:
2 > Hi,
3 >
4 > xdg-open opens a pdf file with Gimp. I have the following configuration:
5 > > xdg-mime query filetype tmp/arulesViz.pdf
6 >
7 > application/pdf
8
9
10 This tells you what the mime type of the file is, not what opens it.
11
12 Try running:
13 xdg-mime query default application/pdf
14
15 to see what the default application is for that mime type.
16
17 Then you can run
18 xdg-mime default insert-your-application-here application/pdf
19
20 to change the application that opens that mime type.
21
22
23 --
24 Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/
25 Asking for technical help in newsgroups? Read this first:
26 http://catb.org/~esr/faqs/smart-questions.html#intro

Replies

Subject Author
Re: [gentoo-user] xdg-open opens pdf with gimp sven.garbade@×××××.org