Xterm: Difference between revisions

From miki
Jump to navigation Jump to search
(New page: Change the default window size: * Add/Edit this line to file ~/.Xdefaults: xterm*vt100.geometry:150x50+100+100 * Merge it in X database: % xrdb -merge ~/.Xdefaults)
 
No edit summary
Line 1: Line 1:
== References ==

* [https://wiki.archlinux.org/index.php/Xterm Xterm on archlinux]

== Examples ==

Change the default window size:
Change the default window size:


Line 8: Line 14:


% xrdb -merge ~/.Xdefaults
% xrdb -merge ~/.Xdefaults

* Configure ''xterm'' fonts, colors, size. Edit {{file|~/.Xresources}}:
<source lang=text>
XTerm*foreground: rgb:00/00/00
XTerm*background: rgb:ff/ff/dd
Xterm*saveLines: 4096
xterm*faceName: DejaVu Sans Mono:size=12
xterm*VT100.geometry: 132x40
</source>
:... then '''update''' X resource database:
<source lang=bash>
xrdb ~/.Xresources
</source>

Revision as of 16:26, 8 March 2014

References

Examples

Change the default window size:

  • Add/Edit this line to file ~/.Xdefaults:
 xterm*vt100.geometry:150x50+100+100
  • Merge it in X database:
 % xrdb -merge ~/.Xdefaults
  • Configure xterm fonts, colors, size. Edit ~/.Xresources:
XTerm*foreground: rgb:00/00/00
XTerm*background: rgb:ff/ff/dd
Xterm*saveLines: 4096
xterm*faceName: DejaVu Sans Mono:size=12
xterm*VT100.geometry: 132x40
... then update X resource database:
xrdb ~/.Xresources