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


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

Choosing default applications (Calibre, PDF)

Started byTeemu Likonen <tlikonen@iki.fi>
First post2016-03-08 10:50 +0100
Last post2016-03-08 12:00 +0100
Articles 2 — 1 participant

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


Contents

  Choosing default applications (Calibre, PDF) Teemu Likonen <tlikonen@iki.fi> - 2016-03-08 10:50 +0100
    Re: Choosing default applications (Calibre, PDF) Teemu Likonen <tlikonen@iki.fi> - 2016-03-08 12:00 +0100

#165109 — Choosing default applications (Calibre, PDF)

FromTeemu Likonen <tlikonen@iki.fi>
Date2016-03-08 10:50 +0100
SubjectChoosing default applications (Calibre, PDF)
Message-ID<ramr9-7wy-27@gated-at.bofh.it>

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

I'm using Calibre for reading magazines and books. I have it installed
on two machines which both are running Debian 8 with very similar
installation (no desktop environment, i3 window manager).

When I click to read a PDF book in Calibre one of my machines opens
Okular (the general KDE media viewer) whereas the other machine opens
Gimp (and that's really annoying). Both machines have Okular installed
and I'd like to use that. Both machines have KDE's file associations set
correctly (I think): Okular is the first application in the preference
order for type application/pdf (in systemsettings / file associations).

So what would you suggest? How do I configure the default pdf viewer?

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[toc] | [next] | [standalone]


#165117

FromTeemu Likonen <tlikonen@iki.fi>
Date2016-03-08 12:00 +0100
Message-ID<ranwS-8b7-13@gated-at.bofh.it>
In reply to#165109

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

Teemu Likonen [2016-03-08 11:40:12+02] wrote:

> (no desktop environment, i3 window manager).

> How do I configure the default pdf viewer?

I found it. If libfile-mimeinfo-perl package is installed and there's no
desktop environment command xdg-open uses mimeopen to open files. One of
my machines had libfile-mimeinfo-perl installed and the other machine
hadn't. That's why there was different behavior. With
libfile-mimeinfo-perl installed command "mimeopen -d file.pdf" can be
used to set default file type and program associations.

-- 
/// Teemu Likonen   - .-..   <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///

[toc] | [prev] | [standalone]


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


csiph-web