When Terminal is started from the command line or from a panel launcher, several options can be specified to modify its behaviour.
List the various command line options supported by Terminal and exit
Display version information and exit
Do not register with the D-BUS session message bus
Execute the remainder of the command line inside the terminal
Execute command inside the terminal
Set directory as the working directory for the terminal
Set title as the initial window title for the terminal
Open terminal window on the X screen specified by display.
Sets the geometry of the last-specified window to geometry. Read man X for more information on how to specify window geometries.
Sets the window role of the last-specified window to role. Applies to only one window and can be specified once for each window you create from the command line. It is mostly used for session management inside Terminal.
Specifies the startup notification id for the last-specified window. Used internally to forward the startup notification id when using the D-BUS service.
Set the last-specified window into fullscreen mode; applies to only one window; can be specified once for each window you create from the command line.
Turn on the menubar for the last-specified window. Can be specified once for each window you create from the command line.
Turn on the menubar for the last-specified window. Can be specified once for each window you create from the command line.
Turn on the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.
Turn off the window decorations for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.
Turn on the toolbars for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.
Turn off the toolbars for the last-specified window. Applies to only one window. Can be specified once for each window you create from the command line.
Open a new tab in the last-specified window. More than one of these options can be provided.
Open a new window containing one tab. More than one of these options can be provided.
For example, say you want to open a new terminal window with two tabs in it, where the first tab should run mutt and the second tab should run mc, and the window should have 80 columns and 40 rows, then you would use the following command to start Terminal:
Terminal --geometry 80x40 --command mutt --tab --command mc |
Terminal uses the Basedir Specification as defined on Freedesktop.org to locate its data and configuration files. This means that file locations will be specified as a path relative to the directories described in the specification.
The first base directory to look for configuration files. By default this is set to ~/.config/.
A colon separated list of base directories that contain configuration data. By default the application will look in ${sysconfdir}/xdg/. The value of ${sysconfdir} depends on how the program was build and will often be /etc/ for binary packages.
The root for all user-specific data files. By default this is set to ~/.local/share/.
A set of preference ordered base directories relative to which data files should be searched in addition to the ${XDG_DATA_HOME} base directory. The directories should be separated with a color.
This is the location of the configuration file that includes the preferences which control the look and feel of Terminal.
This is the location of the main user interface description file. It includes the definitions for the main menubar and the right-click menu.
This file includes the user interface definition for the toolbars. If you customize the toolbars using the graphical toolbars editor, Terminal will store the new toolbars layout in the file ${XDG_DATA_HOME}/Terminal/Terminal-toolbars.ui.
Terminal offers a few hidden options to allow powerusers to control various advanced settings and to reduce the number of options in the user interface. To set any of these options, you will have to open the file ${XDG_CONFIG_HOME}/Terminal/terminalrc in your favourite text editor and edit the section [Configuration]; simply create the file if it does not already exist. For example, your terminalrc could look like
[Configuration] MiscBell=TRUE MiscConfirmClose=FALSE MiscCursorBlinks=TRUE |
plus all the options that are controlled through the preferences dialog.
Enables (MiscBell=TRUE) or disables (MiscBell=FALSE) the audible terminal bell. Its disabled by default.
Controls whether Terminal popups a confirmation dialog when the user tries to close a terminal window with multiple tabs in it. Can be either TRUE (the default) or FALSE.
Enable this option to display cursor that blinks. Can be either TRUE or FALSE (the default).