-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Thumbnails on file managers #834
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Notes on thumbnails on linux:Generally there exists the Freedesktop Thumbnail Managing Standard which should be followed. In short thumbails are kept in the $XDG_CACHE_HOME/thumbnails which defaults to ~/.cache/thumbnails if $XDG_CACHE_HOME is not set. There are two thumbnail sizes, large (256x256) and small (128x128). Files are png with some extra attributes like path to original file and last modified. The filename is a md5 hash on the uri of the original file. To get a thumbnail generator on Ubuntu/Gnome you just have to write a entry file in .../share/thumbnailers
KDE seems to use something similar located in .../share/kservices5/ Short solution for this probably is to extend aseprites command line mode with a xdg thumbnailer mode, which would solve thumbnail generation outside of the app usage. Those thumbnailers normally are only called when a folder containing the files to be thumbnailed is opened with the file browser. So there is still need to handle thumbnail generation from within aseprite when using a native linux file dialog. Then there is also tumbler which makes thumbnail management available over dbus according to this spec draft. While sounding nice, it seems to be the only thumbnailer that implements those so far. But it is probably best to implement a independent thumbnail management in aseprite to prevent having any strong platform specific (Gnome, KDE, XFCE etc..) dependencies. |
Hows this going for windows? |
@elvisish I'm not working on this at the moment, but I might give some priority to this (I'd love to see thumbnails on Windows File Explorer and macOS Finder too) |
To create a thumbnailer for GNOME, LinuxMint and MATE, you just need to create a binary that can transform the file to a PNG, and a file to declare how it's called. See the Description section of: |
I'm working on this one for Windows as first step (I already have something working in my local copy). It needs some cleanup and will upload the changes soon. |
Really looking forward to it! |
I've just released a little beta to get thumbnails on Windows Explorer (this should be included with Aseprite in a near future version): https://www.aseprite.org/thumbnails/ Commit: 1898ce2 |
@dacap thanks for that! I just tried it, and I'm still getting the aseprite logo. I have SageThumbs installed to show Photoshop thumbnails, is there any known conflicts between this and SageThumbs? Also, does windows need restarting? I'm on Windows 7 x64. |
I don't know SageThumb. It might have some kind of conflict because Photoshop use .ase as one of their file format. Try renaming to .aseprite and see if the thumbnail appears or restart windows just in case then. |
For both .ase and .aseprite, it just has the default aseprite logo. I'll try restarting... |
Tried restarting, still just shows the default logo; SageThumbs doesn't actually have .ase listed as one of it's file types, so I'm not sure it's even enforcing a thumbnail. @dacap can you confirm it works on Windows 7? |
Hmm, it still isn't showing. Neither .ase nor .aseprite are listed in SageThumbs as extensions, so I'm not sure it's actually enforcing any thumnbails itself. Can you confirm it works on Windows 7? |
I'm still not able to see thumbnails but I need SageThumbs for Photoshop thumbnails and I'm unsure if it's clashing or just my problem. Is there any way of manually generating thumbnails? |
@elvisish can you uninstall sagethumbs temporally and try my extension to check if it works? In other case, try using the .aseprite extension in your files instead of .ase |
[macOS Sequoia 15.2] This worked for me at some point, but stopped (possibly as a result of a system update). I've restarted and made sure that Show icon preview is toggled on (works with Illustrator files in the same folder). (also posted to Aseprite Community Bug Reports) |
I second this issue. It appears that on macOS Sequoia apple has fully deprecated this QuickLook API in favor of this one, which means .qlgenerator programs no longer work. |
@Paperdomo101 I've just created #5009 to give some priority to implement the thumbnailer with the new API. |
It would be nice to show thumbnails of .aseprite files on OS X Finder, Windows Explorer, and whatever Ubuntu uses. (related to #321)
We provide external plugins here: https://www.aseprite.org/thumbnails/ (these can be installed freely without installing Aseprite).
The text was updated successfully, but these errors were encountered: