← Back to team overview

ugr-testing team mailing list archive

[Bug 769599] Re: PDF Thumbnails do not work in Gnome Shell (Gnome 3) Nautilus

 

*** This bug is a duplicate of bug 769594 ***
    https://bugs.launchpad.net/bugs/769594

Oops was not %u but %i in line : Exec=/usr/bin/totem-video-thumbnailer
-s %s %u %o

So the correct line is : Exec=/usr/bin/totem-video-thumbnailer -s %s %i
%o

-- 
You received this bug notification because you are a member of Ubuntu
GNOME Remix: Testing Team, which is subscribed to UGR (Ubuntu Gnome
Remix) Project.
https://bugs.launchpad.net/bugs/769599

Title:
  PDF Thumbnails do not work in Gnome Shell (Gnome 3) Nautilus

Status in Ubuntu Gnome Remix Metapackages:
  New

Bug description:
  I just thought I'd let you guys know about this bug and how to fix it.
  I think it's actually a bug in a natty main repository package
  (gsettings-desktop-schemas 3.0.0-0ubuntu1 from the ), so I've reported
  it to the package maintainers here:
  https://bugs.launchpad.net/ubuntu/+source/gsettings-desktop-
  schemas/+bug/769594

  To save you the trouble of looking it up, here's how I fixed PDF
  thumbnails in our Gnome 3 nautilus:

  1) Create the gsettings thumbnailer directory as root:

  sudo -s
  mkdir /usr/share/thumbnailers

  2) Create the “evince-thumbnailer.thumbnailer” configuration file in
  /usr/share/thumbnailers AND make it readable by users (in particular
  nautilus running as user)

  sudo gedit /usr/share/thumbnailers/evince-thumbnailer.thumbnailer
  chmod 644 /usr/share/thumbnailers/evince-thumbnailer.thumbnailer

  With the following contents:

  [Thumbnailer Entry]
  TryExec=/usr/bin/evince-thumbnailer
  Exec=/usr/bin/evince-thumbnailer -s %s %u %o
  MimeType=application/pdf;application/x-pdf;image/pdf;

  This immediately fixes the lack of pdf thumbnails in Nautilus
  3.0.0-0ubuntu1~build3 (provided by Evince 3.0.0-0ubuntu1~build1
  evince-thumbnailer).

  It also automatically populates the /usr/share/thumbnailers directory
  with the following files related to thumbnails for other mime types:

  $ ls -al /usr/share/thumbnailers
  -rw-r--r-- 1 root root 196 2010-12-15 07:57 agr-thumbnailer.desktop
  -rw-r--r-- 1 root root 211 2010-12-15 07:57 dvi-thumbnailer.desktop
  -rw-r--r-- 1 root root 204 2010-12-15 07:57 eps-thumbnailer.desktop
  -rw-r--r-- 1 root root 155 2011-04-23 22:41 evince-thumbnailer.thumbnailer
  -rw-r--r-- 1 root root 372 2010-12-15 07:57 ffmpeg-thumbnailer.desktop
  -rw-r--r-- 1 root root 204 2010-12-15 07:57 fig-thumbnailer.desktop
  -rw-r--r-- 1 root root 522 2010-12-15 07:57 odf-thumbnailer.desktop
  -rw-r--r-- 1 root root 209 2010-12-15 07:57 ogg-thumbnailer.desktop
  -rw-r--r-- 1 root root 209 2010-12-15 07:57 pdf-thumbnailer.desktop
  -rw-r--r-- 1 root root 231 2010-12-15 07:57 psd-thumbnailer.desktop
  -rw-r--r-- 1 root root 213 2010-12-15 07:57 ps-thumbnailer.desktop
  -rw-r--r-- 1 root root 429 2010-12-15 07:57 raw-thumbnailer.desktop
  -rw-r--r-- 1 root root 220 2010-12-15 07:57 svgz-thumbnailer.desktop
  -rw-r--r-- 1 root root 194 2010-12-15 07:57 tex-thumbnailer.desktop
  -rw-r--r-- 1 root root 192 2010-12-15 07:57 xcf-thumbnailer.desktop

  I have attached a tar.gzipped copy of my /usr/share/thumbnailers
  folder (i.e. with the same files as above) and also a separate copy of
  the evince-thumbnailer.thumbnailer file (something I wrote after doing
  a bit of research).

  All the best,
  Daniel (a.k.a. dbonner/Walker Street)