Skip to content

Instantly share code, notes, and snippets.

@mikeri
Created May 28, 2018 10:09
Show Gist options
  • Save mikeri/8c381271912cd1588add68e6203bbcdb to your computer and use it in GitHub Desktop.
Save mikeri/8c381271912cd1588add68e6203bbcdb to your computer and use it in GitHub Desktop.
PDF thumbnailer for freedesktop.org using ImageMagick (for users without Evince)
[Thumbnailer Entry]
TryExec=convert
Exec=convert -alpha deactivate %i[0] -thumbnail %s %o
MimeType=application/pdf;application/x-pdf;image/pdf;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment