I’d like to view images and graphics in a shell/terminal/command line without X.
Because I’d like to set up a fully remote development environment, and Emacs’ Org-Mode uses PNG files to render LaTeX and of course to plot images, I’d like to be able to view simple PNG files in terminal mode.
Now, I can install a desktop, like Unity or a more lightweight one, and then use that to run GUI Emacs (or surf the internet for that matter). That works for rendering images. But it is more resource-heavy than I’d like.
I know this can be done with ImageMagick, Dvipng, or more probably fbi or fim, if I can get the framebuffer to work. Those tools work from the command line without an X window.
Is this possible? I’m working on an Ubuntu 14.04. Thanks!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.