Re: [evince] Evince thumbnailer in specific folders



$ evince-thumbnailer /path/to/pdf/file.pdf /tmp/foo.png && \
  mv foo.png /var/lib/.../myproject && echo "true"

mv will complain.

Hello,
I tried the /tmp && mv solution and it works. I run the thumbnail service with tomcat, in a Java application so I will use a Java way to get the TMP folder, which defaults to /usr/share/tomcat7/temp/. I can change the tomcat tmp folder to /tmp, but I want to understand why this happens. Why does evince generate a thumbnail in /tmp but not in /usr/share/tomcat7/temp/.

I even ran the thumbnail generator with root and it still does not generate anything in /usr/share/tomcat7/temp/.

I'll try to submit a bug. Not sure if a pull request also :D

Thank you,
Andrei Petcu


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]