LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

xterm

Standard X11 terminal emulator

TLDR

Open terminal with a title
$ xterm -T [Example]
copy
Open terminal in fullscreen mode
$ xterm -fullscreen
copy
Open with custom colors (dark blue background, yellow text)
$ xterm -bg darkblue -fg yellow
copy
Open with specific geometry (100x35 characters at position 200,20)
$ xterm -geometry 100x35+200+20
copy
Open using a specific font and size
$ xterm -fa '[Serif]' -fs 20
copy

SYNOPSIS

xterm [-toolkitoption ...] [-option ...] [shell]

DESCRIPTION

xterm is the standard terminal emulator for the X Window System, providing a text terminal interface within a graphical environment. It supports VT102, VT220, and Tektronix 4014 terminal emulation with extensive customization options.Features include multiple fonts, configurable colors, scrollback buffer, selection and paste, Tektronix graphics mode, and full internationalization support. Configuration can be done via command line, X resources, or the control menus (Ctrl+click).

PARAMETERS

-T string

Set window title
-geometry WxH+X+Y
Set window size and position
-bg color
Background color
-fg color
Foreground (text) color
-fa font
TrueType font face name
-fs size
TrueType font size in points
-fn font
Bitmap font name
-fullscreen
Start in fullscreen mode
-rv
Reverse video (swap foreground/background)
-sb
Enable scrollbar
-sl lines
Number of lines to save in scrollback
-e program [args]
Run program instead of shell
-hold
Keep window open after command exits
-class class
X resource class name

INSTALL

sudo apt install xterm
copy
sudo dnf install xterm
copy
sudo pacman -S xterm
copy
sudo apk add xterm
copy
sudo zypper install xterm
copy
brew install xterm
copy
nix profile install nixpkgs#xterm
copy

CAVEATS

Requires X11 display. Default appearance is deliberately minimal; extensive customization via ~/.Xresources is common. Some modern features (like 256 colors) require specific resource settings. Font configuration differs between bitmap and TrueType fonts.

HISTORY

Originally written by Mark Vandevoorde at MIT as part of Project Athena in the mid-1980s, becoming part of the X Window System distribution. One of the oldest continuously maintained X applications. Thomas Dickey has been the primary maintainer since 1996.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid