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.

-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to