Change xterm to White on Black

You can change colors and fonts in xterm using the .Xdefaults config file in your home directory. First, open the file.

vi ~/.Xdefaults

Next, insert the following lines.

xterm*foreground:       #FFFFFF
xterm*background:       #000000
xterm*faceName:         Terminus:pixelsize=14

Finally, refresh the settings with the following command.

xrdb ~/.Xdefaults

That's it. You're now using white on black with the “Terminus” font at 14 points.

More settings are available in the Arch Linux Wiki.

comments powered by Disqus
linux/change_xterm_to_white_on_black.txt · Last modified: 2020/06/01 22:53 (external edit)