GNOME-TERMINAL(1)

๐Ÿ“ฆ
version 3.60.0 ยท 2 versions
, in alpine 3.24, arch rolling, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’– NAME ๐Ÿ’–

okay so bestie, welcome to the manual page for gnome-terminal โ€” and yes it lives in the User Commands section, we love that for it. It's a terminal emulator for GNOME. That's the whole vibe. ๐Ÿซถ


โœจ SYNOPSIS โœจ

gnome-terminal [OPTION...] [-- PROGRAM [ARG...]]

๐ŸŒธ DESCRIPTION ๐ŸŒธ

gnome-terminal is a terminal emulator application for accessing a UNIX shell environment, which โ€” and this is the fun part โ€” you can use to run programs available on your system. no cap, that's literally the point.

It supports several profiles, multiple tabs, and it implements several keyboard shortcuts. it's giving main character energy in a window. ๐Ÿ‘‘


๐Ÿ’… OPTIONS ๐Ÿ’…

  • --help, -h โ€” shows you a brief lil overview of all the options. the tl;dr.
  • --help-all โ€” shows all the options in detail. the full lore drop.
  • --help-gtk โ€” shows all the GTK options.
  • --help-terminal โ€” shows all the options for picking between new terminal tabs or windows.
  • --help-terminal-options โ€” shows all the options that change the attributes of terminals, no matter whether they're in separate tabs or windows.
  • --help-window-options โ€” shows all the options that change the attributes of the windows containing the terminals.
  • --load-config=FILE โ€” restores the application to a previously saved state by loading it from a configuration file. glow-up from a save file, iconic.
  • --preferences โ€” shows the preferences window.
  • --print-environment, -p โ€” prints the environment variables you use to interact with newly created terminals.
  • --quiet, -q โ€” suppresses diagnostics. shhh. ๐Ÿคซ
  • --verbose, -v โ€” increases diagnostic verbosity. tell me EVERYTHING.
  • --tab โ€” opens a new tab containing a terminal in the last-opened window, using the default profile.
  • --window โ€” opens a new window with a tab containing a terminal with the default profile.
  • --command, -e COMMAND โ€” splits the argument to this option into a program and arguments the same way a shell would, then executes the resulting command-line inside the terminal.
๐Ÿšจ this option is deprecated. Instead, use -- to terminate the options, and put the program and arguments to execute after it. For example, instead of gnome-terminal -e "python3 -q", prefer to use gnome-terminal -- python3 -q.

Also note that the COMMAND is not run via a shell: it gets split into words and executed as a program. If you need shell syntax, use the form gnome-terminal -- sh -c '...'.

  • --execute PROGRAM [ARGS], -x PROGRAM [ARGS] โ€” stops parsing options right here and interprets every subsequent option as a program and arguments to execute inside the terminal.
๐Ÿšจ this option is deprecated: use -- instead. For example, instead of gnome-terminal -x python3 -q, prefer to use gnome-terminal -- python3 -q.
  • --fd=FD โ€” forwards a file descriptor.
  • --profile=PROFILE-NAME โ€” uses the given profile instead of the default profile.
  • --title, -t TITLE โ€” sets the initial terminal title.
  • --wait โ€” waits until the terminal's child exits. it'll sit there and hold your hand. ๐Ÿซถ
  • --working-directory=DIRNAME โ€” sets the terminal's working directory.
  • --zoom=ZOOM โ€” sets the terminal's zoom factor. 1.0 is normal size.
  • --active โ€” sets the last specified tab as the active one in its window.
  • --full-screen โ€” full-screens the window. cinema. ๐ŸŽฌ
  • --geometry=GEOMETRY โ€” sets the window size as COLSxROWS+X+Y. For example, 80x24 or 80x24+200+200.
  • --hide-menubar โ€” turns off the menubar for the window.
  • --show-menubar โ€” turns on the menubar for the window.
  • --maximize โ€” maximizes the window.
  • --role=ROLE โ€” sets the X window role.
  • --class=CLASS โ€” program class, as used by the window manager.
  • --display=DISPLAY โ€” X display to use.
  • --g-fatal-warnings โ€” makes all warnings fatal. ๐Ÿ’€ no gentle warnings allowed, they all get the axe.
  • --gdk-debug=FLAGS โ€” GDK debugging flags to set.
  • --gdk-no-debug=FLAGS โ€” GDK debugging flags to unset.
  • --gtk-debug=FLAGS โ€” GTK debugging flags to set.
  • --gtk-no-debug=FLAGS โ€” GTK debugging flags to unset.
  • --gtk-module=MODULES โ€” loads additional GTK modules.
  • --name=NAME โ€” program name, as used by the window manager.

๐Ÿ› BUGS ๐Ÿ›

found a bug? pls read https://wiki.gnome.org/Apps/Terminal/ReportingBugs for how to report it. don't just yell into the void, bestie, there's a whole process. ๐Ÿ™ˆ


๐ŸŒˆ EXAMPLES ๐ŸŒˆ

Wanna run a terminal containing an interactive Python prompt? say less:

gnome-terminal --title=Python -- python3 -q

Wanna interpret shell syntax in a terminal? Either write it in a separate shell script, or use sh -c:

gnome-terminal -- sh -c 'if [ "$(id -u)" = 0 ]; then ...'

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€

For further information, visit the website https://wiki.gnome.org/Apps/Terminal. There's also a list of frequently asked questions at https://wiki.gnome.org/Apps/Terminal/FAQ. iykyk, go read them. ๐Ÿ“š


and that's the whole page, bestie!! ๐ŸŽ€ this one came from GNOME, dated June 2020, and it's the GNOME-TERMINAL(1) manual โ€” periodt. ๐Ÿ’œโœจ

๐Ÿ“ฆ where this page comes from