GNOME-TERMINAL.WRAPPER(1) | Debian | GNOME-TERMINAL.WRAPPER(1) |
gnome-terminal.wrapper - x-terminal-emulator interface for gnome-terminal
x-terminal-emulator [-T TITLE] [-e COMMAND [ARGUMENTS...]]
gnome-terminal.wrapper wraps gnome-terminal(1) to provide an interface that is compatible with the x-terminal-emulator specification in Debian Policy, which is a subset of the xterm(1) command-line interface.
Its behaviour is similar to gnome-terminal --wait, with some command-line options converted from x-terminal-emulator syntax to gnome-terminal(1) syntax.
These options work as specified in Debian Policy §11.8.3.
If there are no ARGUMENTS, gnome-terminal.wrapper will attempt to find the COMMAND in the PATH. If found, it is used as the command to execute, as specified in Debian Policy. If not found, as an extension, gnome-terminal.wrapper will treat the COMMAND as a shell command instead, running it as if via sh -c COMMAND. This is similar to the behaviour of xterm -e, but is not guaranteed to be implemented by all x-terminal-emulator implementations.
Otherwise equivalent to gnome-terminal -- COMMAND ARGUMENTS.
These options are provided for convenience, increasing command-line compatibility with xterm(1) and/or gnome-terminal(1), but are not guaranteed to be available in other x-terminal-emulator implementations. Using these options is discouraged: to obtain functionality beyond the standardized x-terminal-emulator interface, invoke a specific terminal such as gnome-terminal(1) or xterm(1) directly.
It is preferable to set the DISPLAY and/or WAYLAND_DISPLAY environment variables instead.
The exit status is the same as for gnome-terminal(1).
Debian Policy §11.8.3 "Packages providing a terminal emulator".
For more details please see <https://www.debian.org/doc/debian-policy/ch-customized-programs.html>.
This is a Debian-specific interface and should not be expected to be available on non-Debian-derived systems.
To run the command "mutt -f=" in a window with title "mutt e-mail client":
$ x-terminal-emulator -T "mutt e-mail client" -e mutt -f=
gnome-terminal(1), xterm(1), Debian Policy <https://www.debian.org/doc/debian-policy/>.
2024-12-11 | gnome-terminal 3.54.2-2 |