xterm-conf - change configuration of a running xterm
xterm-conf [-f|-force] [options] xterm-conf [-is-supported]
Change configuration of a running xterm and compatible terminal emulators (e.g. rxvt).
xterm
rxvt
See XTerm::Conf for a complete option list.
Additionaly, xterm-conf supports the -f option to force a terminal configuration change without checking the TERM environment variable before. This is useful e.g. when running in a screen or tmux session within an xterm.
TERM
screen
tmux
If xterm-conf is called on an unsupported terminal, then nothing happens.
xterm-conf
xterm-conf --is-supported can be used to check if a terminal is support, if so, a true exit value (exit code = 0) is returned, otherwise a false exit value (exit code = 1).
xterm-conf --is-supported
Change the title, foreground and background colors of the running xterm:
xterm-conf --title "The new xterm title" --fg black --bg white
If running a screen or tmux in an xterm, then the --force switch has to be used because of the different TERM value:
--force
xterm-conf --force --title "The new xterm title" --fg black --bg white
Slaven Rezić
XTerm::Conf.
To install XTerm::Conf, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XTerm::Conf
CPAN shell
perl -MCPAN -e shell install XTerm::Conf
For more information on module installation, please visit the detailed CPAN module installation guide.