Page 9 of 11 FirstFirst ... 7891011 LastLast
Results 81 to 90 of 106

Thread: HOWTO: Thumbnails for OpenOffice.org 2 files

  1. #81

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Also it dosnt work on jaunty!

  2. #82
    Join Date
    Mar 2008
    Location
    Cardiff, UK
    Beans
    427
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Could someone with Jaunty do some testing for me? Basically, post the output of the following commands, once you've downloaded and installed the code.
    First, create an OpenOffice.org document test.odt in your home directory.
    Code:
    unzip ~/test.odt Thumbnails/thumbnail.png -d ~/
    totem-gstreamer-video-thumbnailer "~/Thumbnails/thumbnail.png" "~/thumbnail.png"
    gnome-video-thumbnailer "~/Thumbnails/thumbnail.png" "~/thumbnail2.png"
    ooo-thumbnailer ~/test.odt ~/thumbnail3.png
    Then check to see if thumbnail.png , thumbnail2.png and thumbnail3.png are the correct thumbnails of the document, with a white rather than a transparent background.

  3. #83
    Join Date
    Apr 2005
    Location
    McKinney, TX, USA
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Quote Originally Posted by Flimm View Post
    Due to issues raised in bug 25827, I've rewritten the code in bash. You can get the code from this bazaar branch, or you can just install the attached .deb. I need it to be tested on Jaunty, as I've borked my Jaunty virtualbox installation, so do tell me if it works.
    Is there a particular reason the debian build system for the package still is setup for python? I would think it would only need to copy the bash script into the correct location and not actually need pycentral anymore?

  4. #84
    Join Date
    Mar 2008
    Location
    Cardiff, UK
    Beans
    427
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Quote Originally Posted by calc View Post
    Is there a particular reason the debian build system for the package still is setup for python? I would think it would only need to copy the bash script into the correct location and not actually need pycentral anymore?
    No good reason, besides the fact that I know that system the best. Other non-python packages such as ubuntu-wallpapers use pycentral as well, so I'm not doing anything unheard of.

  5. #85
    Join Date
    Dec 2006
    Beans
    10
    Distro
    Xubuntu 9.10 Karmic Koala

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Hello. I have question. Does your thumbnailer not work with files with whitespace in their names?

  6. #86
    Join Date
    Mar 2008
    Location
    Cardiff, UK
    Beans
    427
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Well spotted, fixed it in the latest version.

  7. #87
    Join Date
    Nov 2004
    Location
    Prague, Czech Republic
    Beans
    68

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    I just want all to know that my code that I posted in "HOWTO: Thumbnails for OpenOffice.org 2 files" thread is under public domain.

    Can't obviously speak for others.

  8. #88
    Join Date
    Sep 2008
    Location
    Kingston, Canada
    Beans
    39
    Distro
    Kubuntu 9.10 Karmic Koala

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    I noticed that the thumbnailer supports Open Office Spreadsheets (i.e. it will generate an preview image for an ODS file) but it doesn't get Nautilus to do this by default. Could you please add support for the vnd.oasis.opendocument.spreadsheet file type in the gconf schema? Oh yeah, the thumbnailer that I downloaded had /usr/bin/ooo-thumbnailer broken on line 33. Just change it to:
    Code:
    if [ "`dirname $ifile`" != "${XDG_TEMPLATES_DIR:-$HOME/Templates}" ]; then
    And you're set (notice the quotations, otherwise white space in the file names create problems). I tested this in Jaunty with no problems!

    Further, would any agree that this would look better with the OpenOffice logo in the bottom right corner, similar to the way OpenOffice works under other operating systems?
    Last edited by jmdsdf; April 3rd, 2009 at 03:36 AM.

  9. #89
    Join Date
    Feb 2005
    Beans
    21

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Hello people, based on the script posted above, I created a new package with a modified version of the script, and add more formats in schemas.

    Supported formats: odt, ods, odp, doc, xls, ppt and rtf.

    For the new formats (doc, xls, ppt and rtf) the script uses the unoconv for conversion.

    I like thumbnails in nautilus. We already have thumbnails for images, video and preview of music.

    Why not for documents? This is a good feature request for future version of ubuntu. What do you think?
    Attached Files Attached Files

  10. #90

    Re: HOWTO: Thumbnails for OpenOffice.org 2 files

    Quote Originally Posted by cristianfere View Post
    Hello people, based on the script posted above, I created a new package with a modified version of the script, and add more formats in schemas.

    Supported formats: odt, ods, odp, doc, xls, ppt and rtf.

    For the new formats (doc, xls, ppt and rtf) the script uses the unoconv for conversion.

    I like thumbnails in nautilus. We already have thumbnails for images, video and preview of music.

    Why not for documents? This is a good feature request for future version of ubuntu. What do you think?
    https://bugs.launchpad.net/ubuntu/+s...ker/+bug/25827

    Trying really hard...

Page 9 of 11 FirstFirst ... 7891011 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •