User Tools

Site Tools


linux:xterm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:xterm [2024-11-19 17:09] adminlinux:xterm [2024-11-19 18:45] (current) – added xterm command to list fonts admin
Line 3: Line 3:
 xterm is an underrated terminal emulator for the X Window System. It's powerful, customizable and lightweight. It supports 256 colors and UTF-8. It does not support tabs, but that's something which is actually not really useful, I prefer multiple xterm windows and I also use workspaces extensively because I use the [[https://i3wm.org/|i3]] window manager. xterm is an underrated terminal emulator for the X Window System. It's powerful, customizable and lightweight. It supports 256 colors and UTF-8. It does not support tabs, but that's something which is actually not really useful, I prefer multiple xterm windows and I also use workspaces extensively because I use the [[https://i3wm.org/|i3]] window manager.
  
-Once xterm is started it looks awful, has a tiny font and lacks some features. To enable all of that simply create file ''.Xresources'' in your home directory and paste the following content (change USERNAME on line to your username). The "!" at the beginning of a line marks a comment.+Once xterm is started it looks awful, has a tiny font and lacks some features. To enable all of that simply create file ''.Xresources'' in your home directory and paste the following content (change USERNAME on line to your username). The "!" at the beginning of a line marks a comment.
  
 <code> <code>
Line 11: Line 11:
 *customization: -color *customization: -color
 xterm*termName: xterm-256color xterm*termName: xterm-256color
 +xterm*utf8: 1
  
 #include "/home/USERNAME/.local/share/colorthemes/numix.xres" #include "/home/USERNAME/.local/share/colorthemes/numix.xres"
  
-xterm*faceName: DejaVu Sans Mono+! truetype fonts are supported, you can also disable antialias 
 +xterm*faceName: DejaVu Sans Mono:antialias=true 
 +!xterm*faceName: DejaVu Sans Mono
 xterm*faceSize: 10 xterm*faceSize: 10
 xterm*renderFont: true xterm*renderFont: true
 +
 +! adjust line spacing, 0.9 .. 1.5, default 1.0
 +!XTerm.vt100.scaleHeight: 1.05
  
 ! VT Font Menu: Unreadable ! VT Font Menu: Unreadable
Line 28: Line 34:
 ! VT font menu: Huge ! VT font menu: Huge
 xterm*faceSize5: 14 xterm*faceSize5: 14
 +
 +! bitmap fonts are set like this, iso10646 is an alias for Unicode
 +!xterm*font: -xos4-terminus-medium-*-*-*-18-*-*-*-*-*-iso10646-1
 +! see also output of command "xterm -report-fonts"
  
 ! do not scroll when there is new input e.g. tail -f /var/syslog ! do not scroll when there is new input e.g. tail -f /var/syslog
Line 39: Line 49:
  Ctrl <Key> plus: larger-vt-font() \n\  Ctrl <Key> plus: larger-vt-font() \n\
  Ctrl <Key> 0: set-vt-font(d) \n\  Ctrl <Key> 0: set-vt-font(d) \n\
- Shift <KeyPress> Home:  scroll-to(begin) \n\ + Ctrl <KeyPress> Home:  scroll-to(begin) \n\ 
- Shift <KeyPress> End:   scroll-to(end) \n\+ Ctrl <KeyPress> End:   scroll-to(end) \n\
  Shift <Btn1Up>: exec-formatted("xdg-open '%t'", PRIMARY)  select-start() select-end()  Shift <Btn1Up>: exec-formatted("xdg-open '%t'", PRIMARY)  select-start() select-end()
  
linux/xterm.1732032580.txt.gz · Last modified: 2024-11-19 17:09 by admin