all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Configure external image viewer?
@ 2009-04-27 16:22 Teemu Likonen
  2009-04-27 18:18 ` Teemu Likonen
  0 siblings, 1 reply; 2+ messages in thread
From: Teemu Likonen @ 2009-04-27 16:22 UTC (permalink / raw)
  To: help-gnu-emacs

Is it possible to configure what image viewer Gnus will use for viewing
attached images?

I'm using Debian GNU/Linux and currently Gnus opens ImageMagick program
when I click those attachment buttons:

    [2. image/jpeg; file.jpg]

ImageMagick opens but it does not actually show the image. Even if it
did work I'd prefer some other viewer like Gwenview of "kfmclient exec".
I tried to edit my ~/.mailcap file and added the following line to the
file. It didn't have any effect.

    image/*; gwenview '%s'; test=test "$DISPLAY"


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Configure external image viewer?
  2009-04-27 16:22 Configure external image viewer? Teemu Likonen
@ 2009-04-27 18:18 ` Teemu Likonen
  0 siblings, 0 replies; 2+ messages in thread
From: Teemu Likonen @ 2009-04-27 18:18 UTC (permalink / raw)
  To: help-gnu-emacs

On 2009-04-27 16:22 (UTC), Teemu Likonen wrote:

> I tried to edit my ~/.mailcap file and added the following line to the
> file. It didn't have any effect.
>
>     image/*; gwenview '%s'; test=test "$DISPLAY"

I noticed something. I had to be more explicit about the mimetypes in
~/.mailcap file: "image/jpeg" works but "image/*" does not. Also, I had
to restart Emacs for any changes in ~/.mailcap to take effect. Quite
strange but it's working now. The problem solved. :-)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-27 18:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-27 16:22 Configure external image viewer? Teemu Likonen
2009-04-27 18:18 ` Teemu Likonen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.