! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add support for dds format
Status:
RESOLVED: INVALID
Product:
Tumbler
Component:
General

Comments

Description Kaluchon 2015-05-17 04:20:56 CEST
No preview of .dds files in thunar.
Comment 1 Kaluchon 2015-05-17 04:28:48 CEST
.dds preview in thunar is useful for graphists.
When we must work on lots of .dds files it's hard to find the right one.
Comment 2 Skunnyk editbugs 2017-12-30 11:33:59 CET
Reassigning to tumbler.
If you have tips on how to handle .dds file, you're welcome.
Comment 3 ToZ editbugs 2017-12-30 14:18:27 CET
You can use the new desktop thumbnailer plugin (https://git.xfce.org/xfce/tumbler/commit/?id=95311dbb45d07d8029e27bb374aeefa60e17b339) to create thumbnails for dds files. Requires tumbler 0.2.0

Create /usr/share/thumbnailers/dds.thumbnailer with the following content:

[Thumbnailer Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=dds Thumbnailer
MimeType=image/x-dds;
Exec=/usr/bin/convert -thumbnail %s %i %o

...and make sure you have an image/x-dds mimetype configured in your system:

~/.local/share/mime/packages/dds.xml (or globally at /usr/share/mime/packages):

<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
    <mime-type type="image/x-dds">
        <comment>dds file</comment>
        <icon name="image"/>
        <glob-deleteall/>
        <glob pattern="*.dds"/>
    </mime-type>
</mime-info>

...then run "update-mime-database ~/.local/share/mime"
Comment 4 Skunnyk editbugs 2018-01-02 18:34:15 CET
Thank you ToZ. We should update https://docs.xfce.org/xfce/thunar/tumbler for tumbler 0.2.0 with this tip… :)
Comment 5 ToZ editbugs 2018-01-04 03:36:24 CET
Done. Documentation updated.
Comment 6 Ali Abdallah editbugs 2020-05-17 20:08:22 CEST
As suggested by ToZ, you can use the desktop thumbnailer for dds files.

Bug #11907

Reported by:
Kaluchon
Reported on: 2015-05-17
Last modified on: 2020-05-17

People

Assignee:
Ali Abdallah
CC List:
2 users

Version

Version:
unspecified

Attachments

Additional information