The default viewer for any image in Xubuntu is Ristretto Image Viewer.
Using Xubuntu 16.04 LTS, it was possible to read image.ascii.pgm
with Ristretto. With 18.04 the program opens but no images are displayed.
Questions:
- Is there a way of reading
image.ascii.pgm
files with the Ristretto Image Viewer in Xubuntu 18.04 LTS? - If not, do you suggest to use another viewer instead? If so, how to use another viewer as default?
Temporary workaround: I can read the images using Inkscape, but, as you can imagine, it is not a light-weight viewer program; it is a heavy vector-graphics image editor (like shooting a fly with a cannon).
ASCII PGM (Portable Gray Map) format for 2D grayscale graphics information. More info here.
For your first question: There is a bug report on this issue. It seems that it is fixed in the 0.8.4 version.
For your second question: I am highly recommending nomacs image viewer. You can install it by running:
To set it as default for a specific file type, right-click the file you want to have opened with nomacs, then Properties... → Open With: → nomacs.