rtv icon indicating copy to clipboard operation
rtv copied to clipboard

Not being able to view remote image url via iTerm2's imgcat

Open yohannes opened this issue 5 years ago • 6 comments

Hi guys,

In the default mailcap file, there is a pre-defined command to view remote image url via iTerm2's imgcat as such image/*; bash -c '[[ "%s" == http* ]] && (curl -s %s | ~/.iterm2/imgcat) || ~/.iterm2/imgcat %s' && read -n 1; needsterminal. Does anyone who has imgcat installed be able to use this command to display remote image url?

yohannes avatar Jul 19 '19 07:07 yohannes

Yes, it works for me.

eyemyth avatar Oct 26 '19 17:10 eyemyth

@eyemyth did you do any configuration to make it work? Because all I did were 1) ensure shell integration and utilities package is installed and uncomment the command above. But when invoked, it simply goes to a blank page

yohannes avatar Oct 27 '19 09:10 yohannes

It goes to a blank page in your browser?

eyemyth avatar Oct 27 '19 20:10 eyemyth

@eyemyth blank page as in my terminal view. the imgcat process should have displayed it in-line if it's working correctly. Yours is being displayed in the terminal view or browser?

yohannes avatar Oct 28 '19 04:10 yohannes

Yep, in the terminal.

I'd start by adding some logging to rtv or imgcat or both.

By the way, this project is dead. There's a fork that's actively maintained: https://gitlab.com/ajak/tuir

eyemyth avatar Oct 28 '19 12:10 eyemyth

Thanks for the pointer to the new fork. I'll keep digging to figure out why my config is not displaying image. Thanks.

yohannes avatar Oct 29 '19 05:10 yohannes