Package: sylpheed
Version: 3.7.0-4
Severity: normal

Dear Maintainer,


Sylpheed does not take into account the XDG default application the desktop 
environment should use for opening files of a specific MIME/Filetype.

Example:
. when I tried to open a PDF file, Sylpheed uses gimp to open the file.

Gimp is the first application in the /usr/share/applications/mimeinfo.cache 
entry defining which application(s) can read/open/associate with pdf files.

$ grep application/pdf  /usr/share/applications/mimeinfo.cache
application/pdf=gimp.desktop;inkscape.desktop;org.gnome.Evince.desktop;libreoffice-draw.desktop;

It should use my desktop's default application from Debian Gnome default spec 
in /usr/share/applications/gnome-mimeapps.list to open PDF files.

$ grep -i pdf /usr/share/applications/gnome-mimeapps.list
application/pdf=org.gnome.Evince.desktop

This association can be found using the xdg-mime command:
$ xdg-mime query default application/pdf
org.gnome.Evince.desktop

And a file can be opened the right way using the xdg-open command.

Regards,

Jean-Marc


See also:
- Association between MIME types and applications
https://specifications.freedesktop.org/mime-apps-spec/mime-apps-spec-1.0.1.html

- XDG Base Directory Specification
https://standards.freedesktop.org/basedir-spec/basedir-spec-0.8.html



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages sylpheed depends on:
ii  libassuan0           2.5.2-1
ii  libatk1.0-0          2.30.0-2
ii  libc6                2.28-5
ii  libcairo2            1.16.0-2
ii  libcompfaceg1        1:1.5.2-5+b2
ii  libenchant1c2a       1.6.0-11.1+b1
ii  libfontconfig1       2.13.1-2
ii  libfreetype6         2.9.1-3
ii  libgdk-pixbuf2.0-0   2.38.0+dfsg-7
ii  libglib2.0-0         2.58.2-4
ii  libgpg-error0        1.33-3
ii  libgpgme11           1.12.0-6
ii  libgtk2.0-0          2.24.32-3
ii  libgtkspell0         2.0.16-1.2
ii  libldap-2.4-2        2.4.47+dfsg-3
ii  libonig5             6.9.1-1
ii  libpango-1.0-0       1.42.4-6
ii  libpangocairo-1.0-0  1.42.4-6
ii  libpangoft2-1.0-0    1.42.4-6
ii  libssl1.1            1.1.1a-1
ii  pinentry-gtk2        1.1.0-1+b1
ii  sensible-utils       0.0.12

Versions of packages sylpheed recommends:
ii  aspell-fr [aspell-dictionary]  0.50-3-8
ii  bogofilter                     1.2.4+dfsg1-13
ii  ca-certificates                20190110
ii  sylpheed-i18n                  3.7.0-4

Versions of packages sylpheed suggests:
pn  claws-mail-tools  <none>
ii  curl              7.63.0-1
pn  sylpheed-doc      <none>
pn  sylpheed-plugins  <none>

-- no debconf information

Reply via email to