Activate pdf thumbnails for XnViewMP on Ubuntu 24
Moderators: helmut, XnTriq, xnview
Activate pdf thumbnails for XnViewMP on Ubuntu 24
Hi.
I get SVG thumbnails but no thumbnail for my pdf images. How do I activate this?
XnViewMP 1.7.2 on Ubuntu 24.04LTS.
In Settings>File list>Custom Filters the AI/PS/PDF "Visible" and "Show as thumbnail" checkboxes are checked
In Settings>View>Filter "Custom" is selected and "AI/PS/PDF" is checked
sudo apt list ghostscript shows:
ghostscript/noble,now 10.02.1~dfsg1-0ubuntu7 amd64 [installed,automatic]
ghostscript/noble 10.02.1~dfsg1-0ubuntu7 i386
In the file browser of Ubuntu (Files, aka Nautilus) the pdf thumbnails show, and the pdf can be opened and displayed (Document viewer, aka Evince).
I get SVG thumbnails but no thumbnail for my pdf images. How do I activate this?
XnViewMP 1.7.2 on Ubuntu 24.04LTS.
In Settings>File list>Custom Filters the AI/PS/PDF "Visible" and "Show as thumbnail" checkboxes are checked
In Settings>View>Filter "Custom" is selected and "AI/PS/PDF" is checked
sudo apt list ghostscript shows:
ghostscript/noble,now 10.02.1~dfsg1-0ubuntu7 amd64 [installed,automatic]
ghostscript/noble 10.02.1~dfsg1-0ubuntu7 i386
In the file browser of Ubuntu (Files, aka Nautilus) the pdf thumbnails show, and the pdf can be opened and displayed (Document viewer, aka Evince).
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
Yes, from a terminal.
> gs
it opens and writes the following in the terminal and opens a white frame:
GPL Ghostscript 10.02.1 (2023-11-01)
Copyright (C) 2023 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>
> gs
it opens and writes the following in the terminal and opens a white frame:
GPL Ghostscript 10.02.1 (2023-11-01)
Copyright (C) 2023 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
GS>
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
when using XnView, what do you have as log when selecting a pdf file?
Pierre.
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
Thanks for your answer. I could not find the log.
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
Here is the part of the log that appears when I select a pdf which I randomly chose.
In the text below, I replaced the full path by [...]
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL [...]/xntest/3-set-0.pdf
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1
## Bitmap :: load 0
###### GFF:load <[...]/xntest/3-set-0.pdf>
######### CategoryModel :: checkAndSave()
Unrecoverable error: rangecheck in .putdeviceprops
## MyView::onLoaded <[...]/xntest/3-set-0.pdf> <[...]xntest/3-set-0.pdf> <[...]/xntest/3-set-0.pdf> (0)
## MyView::onLoaded ok
@@ BitmapResizeThread:: clear
MyView::change [...]/xntest/3-set-0.pdf
@@ BitmapResizeThread:: clear
## Bitmap :: load 0
###### GFF:load <[...]/3-set-0.pdf>
Unrecoverable error: rangecheck in .putdeviceprops
@@ BitmapResizeThread:: clear
############################################ InfoPropertiesView
In the text below, I replaced the full path by [...]
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL [...]/xntest/3-set-0.pdf
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1
## Bitmap :: load 0
###### GFF:load <[...]/xntest/3-set-0.pdf>
######### CategoryModel :: checkAndSave()
Unrecoverable error: rangecheck in .putdeviceprops
## MyView::onLoaded <[...]/xntest/3-set-0.pdf> <[...]xntest/3-set-0.pdf> <[...]/xntest/3-set-0.pdf> (0)
## MyView::onLoaded ok
@@ BitmapResizeThread:: clear
MyView::change [...]/xntest/3-set-0.pdf
@@ BitmapResizeThread:: clear
## Bitmap :: load 0
###### GFF:load <[...]/3-set-0.pdf>
Unrecoverable error: rangecheck in .putdeviceprops
@@ BitmapResizeThread:: clear
############################################ InfoPropertiesView
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
is it possible to have the pdf file? so Ghostscript 10.02.1?
Pierre.
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
Yes, version 10.02.1 on Ubuntu 24.04 LTS
Very good point to suspect the pdfs: I did not realize that it seems to only fail for pdfs that I recently produced (I made a lot of illustrations in the recent months). They are produced by various recent versions of Inkscape, including 1.2.2 and Inkscape 1.4-beta (62f545b, 2024-04-22). It shows well under every viewer, including gs called from a terminal. I joined one to this message (if I understood how to attach files in this newsgroup) that I just created with Inkscape 1.2.2.
Very good point to suspect the pdfs: I did not realize that it seems to only fail for pdfs that I recently produced (I made a lot of illustrations in the recent months). They are produced by various recent versions of Inkscape, including 1.2.2 and Inkscape 1.4-beta (62f545b, 2024-04-22). It shows well under every viewer, including gs called from a terminal. I joined one to this message (if I understood how to attach files in this newsgroup) that I just created with Inkscape 1.2.2.
- Attachments
-
- drawing.pdf
- (1.1 KiB) Downloaded 23 times
Re: Activate pdf thumbnails for XnViewMP on Ubuntu 24
Yes, this one for instance works.
- Attachments
-
- before.pdf
- (2.46 KiB) Downloaded 21 times