Thumbnail dds texture file on Linux (Nautilus) in 3 Minutes.

preview *.dds file on the ubuntu 13.04

How to thumbnail dds(Directdraw surface) texture file in Ubuntu.

1 install ImageMagick.

$ sudo apt-get install imagemagick

2 $ gksudo gedit /usr/share/thumbnailers/dds.thumbnailer

3 Type the following code or copy&paste.

[Thumbnailer Entry]
Exec=/usr/bin/convert -thumbnail x%s %i png:%o
MimeType=image/x-dds;


4 Reboot or restart nautilus.

$ nautilus -q


5 That's it.


P.S.1
If you want to preview dds on other the window. Right click the dds on the nautilus, select Open with ... and other Application..., Push show other applications and  choose the ImageMagick (display).

P.S.2
Gimp DDS plugin
code.google.com/p/gimp-dds/

コメント

このブログの人気の投稿

日本でコンピュータサイエンスを学ぶ難しさ

How to preview nif file on the ubuntu.