severity 681451 serious thanks Dear maintainers of gvfs-bin,
On Fr, 13 Jul 2012, Per Olofsson wrote: > OK. xdg-open merely calls gvfs-open on the file. Reassigning. I tried now to find out *why* gvfs-open opens everything in the desktop browser ... I straced a gvfs-call and the following files (that exist) containing "mime" or "default" are opened: /usr/share//mime/mime.cache /home/norbert/.local/share/applications/mimeapps.list /usr/share/gnome/applications/mimeinfo.cache /usr/share/gnome/applications/defaults.list /usr/local/share/applications/mimeinfo.cache /usr/local/share/applications/defaults.list /usr/share/applications/mimeinfo.cache all of these when searched for application/pdf give evince.desktop or a more complete list of pdf viewers. Onl the mime.cache I couldn't check since it is a binary file. I don't see why gvfs decides to open that in a file manager. No warning message, no error message, nothing points to a file manager. As already mentioned in the bug report, all the xdgg-mime point to evince. Inspired by another bug report I was reading I trid that: $ python -c 'import gio; f = gio.File("file:/home/norbert/foo.pdf");print f.query_default_handler();' and ....: <gio.unix.DesktopAppInfo at 0x7f73a8e73910: File Manager> yeah, that is *wrong* But I have not the faintest idea how to teach this gio gfile gvfs gf*whatever to use proper things ... Could the maintainer please enighten me, and maybe many others, too??? Best wishes Norbert ------------------------------------------------------------------------ Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org} JAIST, Japan TeX Live & Debian Developer DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 ------------------------------------------------------------------------ IBSTOCK (n.) Anything used to make a noise on a corrugated iron wall or clinker-built fence by dragging it along the surface while walking past it. 'Mr Bennett thoughtfully selected a stout ibstock and left the house.' - Jane Austen, Pride and Prejudice, II. --- Douglas Adams, The Meaning of Liff -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org