[Pkg-xfce-devel] Bug#757098: /usr/bin/exo-open: exo-open overrides local mimeapps.list with system wide settings
- Subject: [Pkg-xfce-devel] Bug#757098: /usr/bin/exo-open: exo-open overrides local mimeapps.list with system wide settings
- From: isaacsijaranamual at gmail.com (Isaac Sijaranamual)
- Date: Tue, 05 Aug 2014 11:51:09 +0200
- Message-id: <[🔎] 20140805095109.7921.20794.reportbug@nusalaut>
Package: exo-utils
Version: 0.10.2-3
Severity: important
File: /usr/bin/exo-open
Dear Maintainer,
* What led up to the situation?
Open any downloaded pdf in chrome, epdfview pops up (same result from thunar.)
Removing the package and retrying resulted in gimp opening the pdf, while evince is installed.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Ineffective: reading the intarwebs with stale information, reading man pages with no information.
Effective: strace'ing xdg-open and exo-open
* What was the outcome of this action?
xdg-open /path/to/downloaded.pdf does open the pdf with evince, exo-open insists on using gimp. strace shows that both xdg-open and exo-open read (or stat actually) the files /home/isaac/.local/share/applications/mimeapps.list and /usr/share/applications/mimeinfo.cache (plus a bunch of other likeli culprits, both those don't exist on my machine.)
$ grep -H application/pdf ~/.local/share/applications/mimeapps.list /usr/share/applications/mimeinfo.cache
/home/isaac/.local/share/applications/mimeapps.list:application/pdf=evince.desktop;epdfview.desktop
/usr/share/applications/mimeinfo.cache:application/pdf=gimp.desktop;evince-previewer.desktop;evince.desktop;
* What outcome did you expect instead?
I expected the pdf to be opened with evince.
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages exo-utils depends on:
ii libc6 2.19-7
ii libexo-1-0 0.10.2-3
ii libgdk-pixbuf2.0-0 2.30.7-1
ii libglib2.0-0 2.40.0-3
ii libgtk2.0-0 2.24.24-1
ii libxfce4ui-1-0 4.10.0-5
ii libxfce4util6 4.10.1-1
exo-utils recommends no packages.
exo-utils suggests no packages.
-- no debconf information
Reply to: