Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] image display on remote desktop through ssh #37

Closed
an9236868 opened this issue Jan 7, 2022 · 5 comments
Closed

[Feature Request] image display on remote desktop through ssh #37

an9236868 opened this issue Jan 7, 2022 · 5 comments
Labels
enhancement New feature or request

Comments

@an9236868
Copy link

Is your feature request related to a problem? Please describe.
I'm always frustrated when working with images in Vim, this is an awesome plugin, but I tried on a remote desktop through ssh -X or ssh -Y but the image cannot display

Describe the solution you'd like
The plugin can output the display in nvim on a remote desktop

@an9236868 an9236868 added the enhancement New feature or request label Jan 7, 2022
@dccsillag
Copy link
Owner

This is a hard thing to solve. Our plan was to primarily support images through ssh via notcurses, but that turned out to be a bit complicated.

Now, regarding displaying images with Ueberzug -- I think some of the things it does (e.g. travelling through the process tree to find the window which likely is the current terminal) just won't work remotely with ssh -X (or similar); I don't think we can have remote images with it.

So, what we can do, besides trying to finish the notcurses image display code, is to look into other ways to display images which would work through ssh.

@an9236868
Copy link
Author

thanks @dccsillag for your prompt response, cannot wait to see it 👍

@tzachar
Copy link
Contributor

tzachar commented Jan 9, 2022

This works for me without a problem when using Kitty as my terminal.
See the Kitty image protocol magma currently supports.

@dccsillag maybe add that to the readme?

@dccsillag
Copy link
Owner

Yeah, I suppose the Kitty protocol backend would work through SSH.

I thought it was already in the README; apparently, it's not. Will be adding it soon!

In any case, this is a bigger issue, and just saying "use Kitty" is very unsatisfying. At least having the notcurses backend (dankamongmen/notcurses#2308) would be better. Therefore, until we at least reach that point, I'll be keeping this issue open.

@dccsillag
Copy link
Owner

Since this comes down to image display without Ueberzug, I'm going to close this in favour of #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants