g.gui(1grass)
β¨ g.gui β the manual page, but make it cute β¨
okay bestie, welcome to g.gui(1grass) π this is the GRASS User's Manual page for g.gui, and it's genuinely one of my faves because it's literally just "hey, want a GUI? here's a GUI."
πΈ NAME πΈ
g.gui β launches a GRASS graphical user interface (GUI) session. Optionally it also updates your default user interface settings, because we love a multitasker. π
π KEYWORDS π
general, GUI, user interface
π SYNOPSIS π
g.gui
g.gui --help
g.gui [-fdn] [ui=string] [workspace=name.gxw] [--help] [--verbose]
[--quiet] [--ui]
β¨ Flags β¨
-fβ start the GUI in the foreground. by default the GUI starts in the background and control is immediately returned to the caller, but when the GUI runs in the foreground it blocks the command line, so likeβ¦ it's holding your terminal's hand and not letting go. π-dβ update default user interface settings.-nβ do not launch the GUI after updating the default user interface settings. just vibes, no window. π--helpβ print usage summary.--verboseβ verbose module output.--quietβ quiet module output.--uiβ force launching GUI dialog.
π Parameters π
ui=stringβ user interface.- Options:
wxpython,text,gtext - Default:
wxpython wxpython: wxPython based GUI (wxGUI)text: command line interface onlygtext: command line interface with GUI startup screen
- Options:
workspace=name.gxwβ name of workspace file to load on start-up.- This is valid only for wxGUI (
wxpython). π¦
- This is valid only for wxGUI (
π DESCRIPTION π
The g.gui module lets you start the Graphical User Interface (GUI) straight from the command line prompt, or change your default User Interface (UI) settings. it's giving "one module, two jobs, both slaying." β¨
GRASS comes with both a wxPython-based GUI aka wxGUI (ui=wxpython) and a command line text-based UI (ui=text). pick your fighter. π
π«Ά NOTES π«Ά
If the -d update flag is given, or the GRASS_GUI environmental variable is unset, then the GRASS internal variable GUI is permanently changed and the selected ui will be used as the default UI from then on. no take-backs, bestie. π
All GRASS internal variables (check out g.gisenv) are stored in the user's home directory in a hidden file called $HOME/.grass8/rc on Unix-based operating systems, and %APPDATA%\GRASS8\rc on MS Windows. π
heads up, bestie: these GRASS internal variables are not the shell environment variables, and the rc file is not a classic UNIX run command file β it just contains persistent GRASS variables. it's giving "same name, different species." π
π EXAMPLES π
π§ Set default user interface settings π§
Set default user interface setting to command line, text-based UI:
g.gui -d ui=text
Set default user interface setting to the graphical user interface (GUI) and launch the GUI:
g.gui -d ui=wxpython
Set default user interface setting to the graphical user interface (GUI) but do not launch the GUI:
g.gui -dn ui=wxpython
π Load workspace from command line π
Start the GUI from command line with an existing workspace:
g.gui workspace=myproject.gxw
π SEE ALSO π
- wxGUI
g.gisenv- GRASS variables
also the wxGUI wiki page. π¦
π AUTHORS π
- Martin Landa, FBK-irst, Trento, Italy
- Hamish Bowman, Otago University, Dunedin, New Zealand (fine tuning)
iconic duo, fr fr. π
β SOURCE CODE β
Available at: g.gui source code (history)
Latest change: Friday Aug 08 09:39:19 2025 in commit: ed72c71d8580e872cd6fd345c84a15c324764465
Main index | General index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page, bestie!! π β¨
this was the g.gui(1grass) manual page, churned out of the GRASS 8.5.0 Reference Manual, and it's Β© 2003-2026 GRASS Development Team, version GRASS 8.5.0. π no cap, you now know more about launching a GUI than half the internet. go forth and ui=wxpython, my love. π«ΆππΈ
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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