|
From: | Andy Maloney |
Subject: | Re: [Ranger-users] Preview images on a Mac |
Date: | Sun, 14 Jul 2013 19:40:23 -0500 |
On Sun, Jul 14, 2013 at 03:24:52AM -0500, Andy Maloney wrote:
> - modified ranger/ext/img_display.py line 16 to W3MIMGDISPLAY_PATH =
> '/opt/local/libex/w3m/w3mimgdisplay' to point to where my w3mingdisplay is.Since ranger 1.6.1 you can just set the environment variable
W3MIMGDISPLAY_PATH in your shell's config file and you don't have to
change the source code.
w3m can also display images *inside* the terminal, without a separate
> I tried opening an image with w3m in the mac terminal—settings
> xterm-256color—and it opened a jpg in a new window with ImageMagick in X11.
> It balked when I tried to open a .tif file though. I have tiff 4.0.3
> installed.
imagemagick window. If it can't, then either your terminal doesn't
support it or you didn't install all necessary parts. Looks like it's
the former though, so I would try installing xterm and try with that.
previewing TIF files in ranger works for me. I got w3m 0.5.3,
> I'd like to use ranger to preview image files (specifically .tif files) if
> at all possible and any recommendations on how to do this would be greatly
> appreciated.
ranger 1.6.1, urxvt 9.18 (that's the terminal, fyi)
hut
[Prev in Thread] | Current Thread | [Next in Thread] |