Replies: 2 comments 4 replies
|
you need to enable x11 forwarding in ssh. |
|
I do this from the other direction, which sidesteps the graphics problem entirely. Run mc on your own machine and open the server in a panel with cd sftp://user@host/path. Pressing Enter or F3 on a file then runs your local viewer against it, so timg is drawing in the Konsole it is already running in and sixel works normally. The server needs nothing beyond SSH for this, which also means timg and the graphics support only have to exist on one machine. One thing to expect: the file is fetched before the viewer opens, so it is quick for images and PDFs and noticeable for a large video. Also worth checking that your build has sftp support, since it is a compile-time option — mc --version lists libssh2 when it does. |
Uh oh!
There was an error while loading. Please reload this page.
I am using Midnight Commander over ssh for maintenance and cleanup of my home servers. Since it's a ssh connection, the automatic opening of images, videos and pdfs to examine these files doesn't work.
I can open the three filetypes over ssh without problems when using
timgimage, video and pdf TUI viewer. I am using KDE's Konsole, which supports sixel- and kitty v2 graphics.When I try to combine
timgandmc, I can't get it to work. Pressing ⏎ on a highlighted file does nothing. What would be the recommended way to do this?All reactions