Print preview is missing
On one Trisquel computer that I installed recently, in atril or in gthumb, regardless of the choice of the printer, including choosing to print in a file, clicking on "preview" just closes the print window and nothing else happens.
I wonder whether any package is missing, or how to fix this. Printing works though, but it is annoying not to have a preview.
Installing evince installed libeview3-3a and libevdocument3-4. Print preview works in evince while it still does not work in atril (so I did set evince as the default app). Surprise, print preview now also works with gthumb.
It looks like evince is set as default for print previews in gtksettings:
https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtksettings.c?ref_type=heads#L64
Creating a settings.ini file in ~/.config/gtk-3.0 with the following content corrected the situation in Trisquel 11 with MATE:
[Settings]
gtk-print-preview-command=atril --unlink-tempfile --preview --print-settings %s %f