Hi!
gvfs-open allows one to open a file with the "preferred
application". Unfortunately, it exits as soon as the application is
started. Therefore, it is not usable from another application that
provides a temporary file and waits for the application to terminate
to delete it (typically, a mail program).
This bug has already been reported upstream last year:
https://bugzilla.gnome.org/show_bug.cgi?id=652262
I have just provided a patch. Maybe it could go in Debian before being
applied upstream (or before the next version with the patch, if
applied, hits Debian). It could a solution to people wondering how to
solve bug #497779 by adding the appropriate wildcard entry in
/etc/mailcap (not a perfect solution, but better than nothing).
- -- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gvfs-bin depends on:
ii gvfs-common 1.12.3-1
ii libc6 2.13-33
ii libglib2.0-0 2.32.3-1
gvfs-bin recommends no packages.
Versions of packages gvfs-bin suggests:
ii gvfs 1.12.3-1
- -- no debconf information
iEYEARECAAYFAk/ZE/wACgkQKFvXofIqeU4lXACfTbU0A4tt1R991SMRhBHnN0V+
BDgAn2r6CczANZDH7Tw0sfNmpvyMro8e
=luFt
-----END PGP SIGNATURE-----