GWYDDION(1)
π¦ GWYDDION β the manual page, but make it a group chat π¦
okay so bestie, you opened GWYDDION(1) and I'm about to give you the full tour. no skimming, no gatekeeping, we're going through every flag together. grab a snack. π
β¨ NAME β¨
gwyddion β SPM data visualization and analysis. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
gwyddion [OPTION...] [FILE...]
π DESCRIPTION π
So gwyddion is a graphical SPM (Scanning Probe Microscope) data visualization and analysis program, built on Gtk+. she visualizes, she analyzes, she's an icon, she's the moment. π₯
π OPTIONS π
okay first things first, before we even get to the gwyddion-specific stuff:
the program accepts all standard Gtk+, Gdk, and GtkGLExt options β you know, stuff like --display or --sync. for the deets on those, please go read the documentation of those packages, because that's where that lore lives. π«Ά
β οΈ also, real talk: the behaviour of the remote control options--remote-*is undefined when more than one instance of Gwyddion is running on the display. they can choose an arbitrary instance to communicate to. no promises. and the last remote control option given (including--new-instance) overrides all the preceding ones. last one wins, periodt.
also cute detail: if a directory is given as a FILE argument, the program opens a file chooser in this directory. π
now. the Gwyddion options, one by one, no skipping:
--helpβ prints a brief help and then dips. terminates.--versionβ prints version information and terminates. classic.--no-splashβ disables the splash screen on program startup. straight to business.--remote-newβ opens files given on the command line in an already running instance of Gwyddion on the display. runs a new instance if none is running.
this is probably the most useful remote control option, ngl. file type associations are usually installed to run Gwyddion with this option. so like, it's the default main character. π
--remote-existingβ opens files given on the command line in an already running instance of Gwyddion on the display. fails if none is running.
this is useful if you want to handle the case of Gwyddion not running differently than by starting it. iykyk.
--remote-queryβ succeeds if an instance of Gwyddion is already running on the display and prints its instance identifier. fails if none is running.
so about that instance identifier β it depends on the remote control backend in use. in some cases it's useful as a global window identifier, in some it is not. with libXmu this option prints the X11 Window, on Win32 HWND is printed, while with LibUnique the startup id is printed. β¨
--new-instanceβ runs a new instance of Gwyddion. it can also be used to override preceding remote control options and to ensure a new instance is run when the default remote control behaviour is modified.--identifyβ instead of running the user interface and openingFILEs, it detects the file type for each and terminates.
the SPM file type printed corresponds to the description shown in the list of supported file formats in the user guide. the file type is followed (in square brackets) by the name of Gwyddion file import module that would be used to load the file and detection score. scores considerably lower than 100 mean that although the detection produced a possible file type, it is unsure about it. π
if the file type is not recognised at all, Unknown is printed as the file type. the program exit code is 1 if any FILE was not recognised.
--checkβ instead of running the user interface and openingFILEs, it loads the files, performs a sanity check on them (printing errors to standard error output) and terminates.--disable-glβ disables OpenGL entirely, including any checks whether it is available. this option, of course, has any effect only if Gwyddion was built with OpenGL support, and one of the most visible effects is that 3D view becomes unavailable. however, you may find it useful if you encounter a system so broken that even checking for OpenGL capabilities leads to X server errors. π it can also help when you run Gwyddion remotely using X11 forwarding and the start-up time seems excessively long.--log-to-fileβ write messages from GLib, Gtk+, Gwyddion, etc. to~/.gwyddion/gwyddion.logor file given inGWYDDION_LOGFILEenvironment variable. this option is most useful on Unix as on Win32 messages are redirected to a file by default. logging to a file and console are not exclusive; messages can go to both. π--no-log-to-fileβ prevents writing messages from GLib, Gtk+, Gwyddion, etc. to a file. this is most useful on Win32 where messages are written to a file by default.--log-to-consoleβ print messages from GLib, Gtk+, Gwyddion, etc. to the console. more precisely, debugging messages are printed to the standard output, errors and warnings to the standard error. on Unix messages are printed to the console by default. logging to a file and console are not exclusive; messages can go to both.--no-log-to-fileβ disables printing messages to the console. this is most useful on Unix where messages are printed to the console by default.--disable-modules=MODULE,...β prevents the registration modules of given names. this is mostly useful for development and debugging. for instance, you might want to use--disable-modules=pygwywhen running under Valgrind for faster startup (and possibly to avoid extra errors). π§--startup-timeβ prints wall-clock time taken by various startup (and shutdown) tasks. useful only for developers and people going to complain about too slow startup. π
π ENVIRONMENT π
on Linux/Unix, the following environment variables can be used to override compiled-in installation paths (the MS Windows version always looks to directories relative to path where it was installed). note they are intended to override system installation paths, therefore they are not path lists β they can contain only a single path. one path, no more. periodt.
GWYDDION_DATADIRβ base data directory where resources (color gradients, OpenGL materials, ...) were installed. Gwyddion looks into itsgwyddionsubdirectory for resources.
when it is unset, it defaults to compiled-in value of ${datadir} which is usually /usr/local/share.
GWYDDION_LIBDIRβ base library directory where modules were installed. Gwyddion looks into itsgwyddion/modulessubdirectory for modules.
when it is unset, it defaults to compiled-in value of ${libdir} which is usually /usr/local/lib or /usr/local/lib64.
GWYDDION_LIBEXECDIRβ base lib-exec directory where plug-ins were installed. Gwyddion looks into itsgwyddion/pluginssubdirectory for plug-ins.
when it is unset, it defaults to compiled-in value of ${libexecdir} which is usually /usr/local/libexec.
GWYDDION_LOCALEDIRβ locale data directory where message catalogs (translations) were installed.
when it is unset, it defaults to compiled-in value of ${datadir}/locale which is usually /usr/local/share/locale.
other variables that influence Gwyddion run-time behaviour include GLib+ variables[1] and Gtk+ variables[2] and some Gwyddion-specific variables:
GWYDDION_LOGFILEβ name of file to redirect log messages to. on MS Windows, messages are always sent to a file as working with the terminal is cumbersome there. the default log file location,gwyddion.login user's Documents and Settings, can be overridden withGWYDDION_LOGFILE. on Unix, messages go to the terminal by default and this environment variable has effect only if--log-to-fileis given.
and one more thing bestie: if Gwyddion is built with OpenMP support, it utilizes parallelization (not all data processing methods implement parallelization, but a sizable part does). OpenMP environment variables such as OMP_NUM_THREADS can be used to tune it. π
π FILES π
~/.gwyddion/settingsβ saved user settings and tool states. do not edit while Gwyddion is running, it will overwrite it at exit. seriously, don't. π~/.gwyddion/glmaterials,~/.gwyddion/gradients, ... β user directories with various resources (OpenGL materials, color gradients, ...).$GWYDDION_DATADIR/gwyddion/glmaterials,$GWYDDION_DATADIR/gwyddion/gradients... β the same for system-wide resources.~/.gwyddion/pixmapsβ directory to place user icons to. this is mainly useful for installation of modules to home.$GWYDDION_DATADIR/gwyddion/pixmaps, β the same for system-wide icons.~/.gwyddion/modulesβ directory to place user modules to. they should be placed intofile,graph,process,layer, andtoolssubdirectories according to their kind, though this is more a convention than anything else.$GWYDDION_LIBDIR/gwyddion/modules, β the same for system-wide modules.~/.gwyddion/pluginsβ directory to place user plug-ins to. they should be placed intofileandprocesssubdirectories according to their kind.$GWYDDION_LIBEXECDIR/gwyddion/plugins, β the same for system-wide plug-ins.~/.gwyddion/pygwyβ directory to place user python modules or scripts to. π
π SEE ALSO π
gwyddion-thumbnailer(1), gxsm(1)
β AUTHOR β
- Yeti β Author.
πΈ NOTES πΈ
- GLib+ variables β
http://library.gnome.org/devel/glib/stable/glib-running.html - Gtk+ variables β
http://library.gnome.org/devel/gtk/stable/gtk-running.html
and that's the whole page, bestie!! π«Ά this version of gwyddion's manpage is dated 11/05/2021 and it ships with the source/version tag gwyddion β so when you cite it, that's the lore. slay, go visualize some SPM data, you've got this. π
β¨ </output>
π¦ 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