GWYDDION-THUMBNAILE(1)
π GWYDDION-THUMBNAILE(1) π
okay so bestie, this is the manual page for gwyddion-thumbnailer from the Gwyddion manual β yes the name at the top says GWYDDION-THUMBNAILE(1) and that's just how the section header gets printed, don't @ me π
β¨ NAME β¨
gwyddion-thumbnailer β Create thumbnails of SPM data files πΌοΈ
πΈ SYNOPSIS πΈ
gwyddion-thumbnailer {--version | --help}
gwyddion-thumbnailer [OPTION...] {MODE} [ARGUMENT...]
π¦ DESCRIPTION π¦
So gwyddion-thumbnailer makes thumbnails out of SPM (Scanning Probe Microscope) image files. Depending on which mode you're in (modes explained below, stay with me π«Ά), the thumbnails get written so they match up with a bunch of desktop standards, which means they can actually show up in nautilus(1), thunar(1), and other file managers of that whole vibe.
gwyddion-thumbnailer loads and renders files using gwyddion(1), plus its libraries and modules β so lowkey it can thumbnail every single file format your Gwyddion install supports π. And the flip side of that: it inherits your Gwyddion settings (hi, default false color gradient π) and it's influenced by the exact same environment variables that Gwyddion is.
π INFORMATIVE OPTIONS π
--helpβ Prints a brief help and terminates. That's it, that's the whole thing β¨--versionβ Prints version information and terminates. Slay.
π THUMBNAILING OPTIONS π
--updateβ Writes the thumbnail only if it doesn't exist yet or doesn't seem to be up-to-date. And jsyk, by defaultgwyddion-thumbnaileroverwrites existing thumbnails with fresh ones even if they seem up to date β so if you don't want that, this is your flag, bestie.
β MODE β
There are three thumbnailing modes: gnome2, tms, and kde4. Plus one special mode: check. All four described below, no skipping π
π§ GNOME 2 π§
gwyddion-thumbnailer [OPTION...] gnome2 MAX-SIZE INPUT-FILE OUTPUT-FILE
In gnome2 mode, gwyddion-thumbnailer creates PNG thumbnails according to the Gnome thumbnailer specification. Following the convention from that very spec, you should run it like:
gwyddion-thumbnailer gnome2 %s %i %o
Gwyddion installs the corresponding GConf schemas and turns on thumbnailers for all the file types it supports by default β so usually this should Just Workβ’ and you don't need to set anything up manually π
The thumbnails created in gnome2 mode are identical to the ones from tms mode, including all the PNG auxiliary chunks (as long as the same MAX-SIZE as in tms mode is specified, obviously π).
πΈ TMS πΈ
gwyddion-thumbnailer [OPTION...] tms MAX-SIZE INPUT-FILE
In tms mode, gwyddion-thumbnailer creates PNG thumbnails according to the Thumbnail Managing Standard. Argument MAX-SIZE has to be 128 or normal (both meaning 128 pixels) or 256 or large (both meaning 256 pixels). Periodt.
You don't give an output file name here β the TMS prescribes it for you π. The thumbnail gets placed into the directory for normal or large thumbnails depending on the MAX-SIZE you gave.
This mode is also genuinely useful for manually batch-creating thumbnails. For example, to create them for all *.afm files in the directory scans and its subdirectories, you can run:
find scans -type f -name Β΄*.afmΒ΄ -print0 \\
| xargs -0 -n 1 gwyddion-thumbnailer --update tms normal
And then go make yourself a coffee β because this is going to take a while, fr fr.
π KDE 4 π
gwyddion-thumbnailer kde4 MAX-SIZE INPUT-FILE
In kde4 mode, gwyddion-thumbnailer creates PNG thumbnails meant to be consumed by the gwythumbcreator KDE module. The thumbnail β again identical to the other modes β is written to the standard output.
π¨ Do not use this mode from the command line. It's documented here for completeness only, but the protocol betweengwythumbcreatorandgwyddion-thumbnailermust be considered private and it can change any time.
π₯ CHECK π₯
gwyddion-thumbnailer check INPUT-FILE
The check mode is not for creating thumbnails, bestie, it's a whole different thing. Instead, gwyddion-thumbnailer prints info about the available thumbnails of INPUT-FILE plus the cached failures to produce a thumbnail by individual applications, as described by the TMS.
So like, if the normal-sized thumbnail exists and is up to date, the large version doesn't exist, and there's one cached failure from gnome-thumbnail-factory, the output can be for instance:
File: INPUT-FILE
URI: file:///home/me/Pictures/naughty/broken-tip3/INPUT-FILE
Normal: /home/me/.thumbnails/normal/MD5.png
status: OK
Large: /home/me/.thumbnails/large/MD5.png
status: Thumbnail does not exist or stat() fails on it.
Failed: /home/me/.thumbnails/fail/gnome-thumbnail-factory/MD5.png
URI is the canonical URI of the input file, and MD5 stands for the hex representation of the MD5 sum of the URI, as described by the TMS π
If there are no cached failures, no Failed lines get printed.
This function can be used to check thumbnails of any kind, not necessarily ones created by gwyddion or gwyddion-thumbnailer. In the future though, it might be reported as an error if the thumbnail doesn't contain Gwyddion-specific information π
π SEE ALSO π
π AUTHOR π
Yeti Author.
and that's the whole page, babe β written for the gwyddion manual, dated 09/04/2009, and yes the footer at the bottom of the real page just says gwyddion, 09/04/2009, GWYDDION-THUMBNAILE(1) again. iconic, honestly πβ¨
π¦ where this page comes from
- debian bookworm: gwyddion 2.62-1 Β· GPL-2.0-or-later
- debian trixie: gwyddion 2.67-1 Β· GPL-2.0-or-later
- nixos 26.05: gwyddion 2.70
- ubuntu jammy: gwyddion 2.60-2 Β· GPL-2.0-or-later
- ubuntu noble: gwyddion 2.64-1.1build3 Β· GPL-2.0-or-later
- ubuntu questing: gwyddion 2.67-1build1
- ubuntu resolute: gwyddion 2.67-1build2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms