ranger + images + tmux - GNU/Linux
Users browsing this thread: 5 Guest(s)
|
|||
so i got ranger and w3m setup for image previews. but it doesn't work with tmux (which these days 99% of my term action happens there). i see lots of ranger love in nixer's scrots and wondered if any of you had hacks to make it work. there's a pr on github to make it "work" but people reported it misaligned and when i tried to compile it it crashed tmux for me.
anybody have it working?
http://xero.nu && http://git.io/.files
|
|||
|
|||
are you using framebuffer? then you can use some trick i think z3bra or somebody else from here found...
|
|||
|
|||
no. i'd love some more info about it...
|
|||
|
|||
pvtmert, are you referring to http://blog.z3bra.org/2014/01/images-in-terminal.html?
|
|||
|
|||
if so, i have already read that article. w3m is the engine that ranger uses to draw image previews.
|
|||
|
|||
yeah i wanted pvtmert to clarify, in case z3bra found a new trick or something
|
|||
|
|||
It may be a bit late to mention this, but image preview has been working with tmux since February 2014. Whatever PR you are referring to is probably old. The newest ranger "version" is very old (one in any official repos), but if you've installed the latest ranger on github (manually, from the aur, etc.), there should be no problem displaying images in tmux.
|
|||
|
|||
many many tnks angelicsedition!
░ ░░▒░ ░ ░ ░ ▒ ░ ░▒ ▒░
░ ░ ░ ░ ░ ░ |
|||
|
|||
|
|||
|
|||
OK now Ranger image preview works ok on TMUX but why does not respect the borders, and if i comment the ( set preview_images true ) the ascii works fine and respect the borders. I want image to respect borders and resize perfect inside Ranger borders. I think im asking to much :(
Tmux + Ranger - ASCII Tmux + Ranger - W3M Image Preview :( |
|||
|
|||
yup zr0, same thing here. in a single tmux pane it seems to be ok. but as soon as you split it, things get weird. we're getting there, better than nothing IMHO!
|
|||
|
|||
also, i tested with `xterm`, `urxvt` and `st` and it seems like it's working only in `xterm`
|
|||
|
|||
i use tmux in xfce4-terminal. it works for my needs.
|
|||
|
|||
Doesn't work w3imagedisplay on Gentoo with latest ranger-git, but ASCII images showed in terminal.
Tested under python 2.7 & 3.4. |
|||
|
|||
|
|||
I mean the image not showed, probably i don't updated the old config file and thinkable the preview not work.
|
|||