From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: xdg-open
Date: Fri, 13 Mar 2009 21:13:41 +0900 [thread overview]
Message-ID: <b4m1vt1mxhm.fsf@jpl.org> (raw)
Hi,
On Fedora 10, Gnus passes all image/* MIME parts to xdg-open,
that is the bash script, for displaying externally because of
the /etc/mailcap entry:
image/*; /usr/bin/xdg-open %s
It works if using it manually like: xdg-open image.png
In that case, the eog command is used for displaying the image
file. However, in Gnus it simply ends up immediately with no
displaying. So far I don't know why it won't do. Instead, I
added this one to the ~/.gnus.el file to remove xdg-open from
`mailcap-mime-data':
(mailcap-parse-mailcaps)
(dolist (major mailcap-mime-data)
(dolist (minor (cdr major))
(when (equal (cdr (assoc 'viewer (cdr minor)))
"/usr/bin/xdg-open %s")
(delq minor major))))
It's not a good idea, though.
Regards,
next reply other threads:[~2009-03-13 12:13 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-13 12:13 Katsumi Yamaoka [this message]
2009-03-17 2:33 ` xdg-open Michael Baer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b4m1vt1mxhm.fsf@jpl.org \
--to=yamaoka@jpl.org \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).