linux:xterm
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:xterm [2024-11-19 15:38] – created admin | linux: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:// | 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:// | ||
- | Once xterm is started it looks awful, has a tiny font and lacks some features. To enable all of that simply create file '' | + | Once xterm is started it looks awful, has a tiny font and lacks some features. To enable all of that simply create file '' |
< | < | ||
Line 11: | Line 11: | ||
*customization: | *customization: | ||
xterm*termName: | xterm*termName: | ||
+ | xterm*utf8: 1 | ||
#include "/ | #include "/ | ||
- | xterm*faceName: | + | ! truetype fonts are supported, you can also disable antialias |
+ | xterm*faceName: | ||
+ | !xterm*faceName: | ||
xterm*faceSize: | xterm*faceSize: | ||
xterm*renderFont: | xterm*renderFont: | ||
+ | |||
+ | ! adjust line spacing, 0.9 .. 1.5, default 1.0 | ||
+ | !XTerm.vt100.scaleHeight: | ||
! VT Font Menu: Unreadable | ! VT Font Menu: Unreadable | ||
Line 28: | Line 34: | ||
! VT font menu: Huge | ! VT font menu: Huge | ||
xterm*faceSize5: | xterm*faceSize5: | ||
+ | |||
+ | ! bitmap fonts are set like this, iso10646 is an alias for Unicode | ||
+ | !xterm*font: | ||
+ | ! 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 34: | Line 44: | ||
! zoom in/ | ! zoom in/ | ||
! + handy keyboard shortcuts to jump to the beginning/ | ! + handy keyboard shortcuts to jump to the beginning/ | ||
+ | ! + Shift+mousebutton on selected text to open in default app | ||
xterm*vt100.Translations: | xterm*vt100.Translations: | ||
Ctrl <Key> minus: smaller-vt-font() \n\ | Ctrl <Key> minus: smaller-vt-font() \n\ | ||
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 < | + | Ctrl < |
- | Shift < | + | Ctrl < |
+ | Shift < | ||
xterm*highlightSelection: | xterm*highlightSelection: | ||
Line 73: | Line 85: | ||
</ | </ | ||
- | And this is the content of '' | + | And this is the content of '' |
< | < | ||
Line 118: | Line 130: | ||
After you have saved both files, run this command (as normal user, not root) | After you have saved both files, run this command (as normal user, not root) | ||
'' | '' | ||
- | and that's it! Now every new xterm will look nice and have some useful features enabled. Look at the content of '' | + | and that's it! Now every new xterm will look nice and have some useful features enabled. Look at the content of '' |
- | If you would like to use another color theme I recommend having a look at [[https:// | + | If you would like to use another color theme I recommend having a look at [[https:// |
linux/xterm.1732027092.txt.gz · Last modified: 2024-11-19 15:38 by admin