Skip to content

TProcess.XTermProgram

XTerm program to use (UNIX only).

Declaration

Source position: processbody.inc line 244

published property XTermProgram: string;

Description

XTermProgram can be used to specify the console program to use when poConsole is specified in TProcess.Options.

If none is specified, DetectXTerm is used to detect the terminal program to use. the list specified in TryTerminals is tried. If none is found, then the DESKTOP_SESSION environment variable is examined:

kde
konsole is used if it is found.
gnome
gnome-terminal is used if it is found
windowmaker
aterm or xterm are used if found.

If after all this, no terminal is found, then a list of default programs is tested: 'x-terminal-emulator','xterm','aterm','wterm','rxvt'.

See also

Name Description
TProcess.Options Options to be used when starting the process.
DetectXTerm Detect the terminal program.