GWYDDION(1)
π GWYDDION(1) β the girlies' guide to Gwyddion π
okay so bestie, welcome to the Gwyddion(1) manual page. yes this is the actual Unix man page, no we're not being boring about it. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
gwyddion β SPM data visualization and analysis. that's it, that's the whole name section, she's concise and she's iconic π
πΈ SYNOPSIS πΈ
gwyddion [OPTION...] [FILE...]
π¦ DESCRIPTION π¦
so like, Gwyddion is a graphical SPM (Scanning Probe Microscope) data visualization and analysis program, and she's built on Gtk+. she looks pretty, she does science, she's the moment. periodt. π
π OPTIONS π
okay so the program accepts all standard Gtk+, Gdk, and GtkGLExt options like --display or --sync. those are toolkit options, so if you wanna know what they do, go peek at the documentation of those packages. not our section, not our problem, we just acknowledge them. π«Ά
π heads up about remote control: the behaviour of the--remote-*options is undefined when more than one instance of Gwyddion is running on the display. they can pick an arbitrary instance to talk to. and the last remote control option given (including--new-instance) overrides all preceding ones. so like, order matters. lowkey important.
also, if you hand her a directory as a FILE argument, the program opens a file chooser in that directory. cute, convenient, slay. β¨
and now, the Gwyddion options themselves:
--helpβ Prints a brief help and terminates. the "help me bestie" button.--versionβ Prints version information and terminates. show me the numbers π--no-splashβ Disables splash screen on program startup. no dramatic entrance today, we're going 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. file type associations are usually installed to run Gwyddion with this option. she's the default girlie fr fr.
--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.
--remote-queryβ Succeeds if an instance of Gwyddion is already running on the display and prints its instance identifier. Fails if none is running.
the instance identifier depends on the remote control backend in use. in some cases it is 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. very "depends on your backend" energy π
--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. main character energy: she shows up whether you asked or not π--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. she's checking your work and she will tell you. π--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. so like, emergency mode but make it useful π©Ή--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. both is good, we love an overachiever π«Ά--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.
π not me pointing out that the manual page literally lists --no-log-to-file twice, and this second one is described as disabling console printing. we're keeping every line exactly as the page has it, no edits, no notes, no cap. the page said what it said bestie.
--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. callout post, honestly π
π 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 the 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. singular. don't get cute. π
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. conditional queen π
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. parallel girlies rise up π₯
π FILES π
~/.gwyddion/settingsβ Saved user settings and tool states. Do not edit while Gwyddion is running, it will overwrite it at exit. for real for real, she will not hesitate π~/.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,volume,xyz,cmap, andtoolssubdirectories according to their kind, though this is more a convention than anything else. lowkey a suggestion, highkey a tradition β¨$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)
go read those too, they're the extended universe besties π«Ά
π AUTHOR π
- Yeti β Author.
that's it. just Yeti. one name, zero explanation, legendary behaviour. π
π§ 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 was brought to you by gwyddion, dated 11/05/2021, filed under GWYDDION(1) β stay hydrated, keep your settings file closed while she's running, and go analyze some SPM data like the icon you are πβ¨ππ¦πΈπ«Άπβ
π¦ where this page comes from
- ubuntu stonking: gwyddion 3.11-1build1 Β· 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