Gnus development mailing list
 help / color / mirror / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: ding@gnus.org
Subject: Re: using gnome-open with mailcap data
Date: Thu, 09 Jun 2011 18:39:57 -0700	[thread overview]
Message-ID: <878vtabh1u.fsf@ericabrahamsen.net> (raw)
In-Reply-To: <87ipsghxhn.fsf@uwo.ca>

Dan Christensen <jdc@uwo.ca> writes:

> Eric Abrahamsen <eric@ericabrahamsen.net> writes:
>
>> 2. Can I use gnome-open for this sort of thing? It's basically its own
>>    little mime parser, and knows all the system defaults, and if I'm
>>    going to pass a file to something outside of gnus/emacs, gnome-open
>>    knows best what to do with it. Setting gnome-open in my .mailcap file
>>    just gives me "Displaying /usr/bin/gnome-open
>>    /tmp/emm.5971frN/IMG_3368.JPG...done" in the minibuffer, and then
>>    nothing happens.
>
> I think gnome-open returns too quickly and then Gnus deletes the
> temporary file.  My hack to work around this is a script:
>
> #!/bin/sh
> gnome-open "$@"
> sleep 5

Thanks! I'll give this a shot.

Eri




  reply	other threads:[~2011-06-10  1:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-08 19:01 Eric Abrahamsen
2011-06-08 19:05 ` Eric Abrahamsen
2011-06-08 20:36 ` Dan Christensen
2011-06-10  1:39   ` Eric Abrahamsen [this message]
2011-06-10  8:17     ` Tassilo Horn
2011-06-13 16:39       ` Ted Zlatanov
2011-06-10  1:40   ` Eric Abrahamsen

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=878vtabh1u.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --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).