Re: Support for thumbnails on SLDDRW, SLDPRT, SLDASM file formats
- From: Alexander Larsson <alexl redhat com>
- To: John Pye <john pye anu edu au>
- Cc: nautilus-list gnome org
- Subject: Re: Support for thumbnails on SLDDRW, SLDPRT, SLDASM file formats
- Date: Wed, 12 Mar 2008 11:37:55 +0100
On Fri, 2008-03-07 at 13:28 +1100, John Pye wrote:
> Hi all
>
> I came across some interesting information about files from the
> (commercial closed-source) program SolidWorks. This program uses the
> Microsoft 'structured file' storage format, and contains preview bitmaps
> that could very usefully be displayed using for Linux users via
> Nautilus. This would be especially good because SolidWorks doesn't
> provide a Linux-based file viewer of any sort (shame on them!).
>
> On Ubuntu 7.10, with the package libgsf-bin installed, I was able to
> extract a PNG preview from various files using this command:
>
> gsf cat mydrawingfile.SLDDRW PreviewPNG > preview.png && eog preview.png
>
> What would be required to make Nautilus display those preview images
> automatically?
Yes, make a script that does this and set it up as thumbnailer for the
right mimetype in gconf
at /desktop/gnome/thumbnailers/<mimetype>/command and enable it. See the
existing ones in gconf for an example.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]