From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 6 Apr 2019 05:00:29 +0000 (+0200)
Subject: Xterm and Unifont config.
X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/%7B%7Bprefix%7D%7D/static/bar%20baz.html?a=commitdiff_plain;h=88b7640bd4119cc820440078dfac956e49512e87;p=config

Xterm and Unifont config.
---

diff --git a/buster/apt-mark/eeepc b/buster/apt-mark/eeepc
index e04ae31..bcdce2a 100644
--- a/buster/apt-mark/eeepc
+++ b/buster/apt-mark/eeepc
@@ -12,6 +12,8 @@ xserver-xorg-input-evdev
 xserver-xorg-input-synaptics
 # for startx
 xinit
+# for xrdb
+x11-xserver-utils
 # for startx to run for non-root user
 libpam-systemd
 # window environment
@@ -28,4 +30,6 @@ firefox-esr
 less
 man-db
 manpages
+# for xterm and browser unicode display
+ttf-unifont
 
diff --git a/buster/home_files/eeepc/.Xresources b/buster/home_files/eeepc/.Xresources
new file mode 100644
index 0000000..ed6212b
--- /dev/null
+++ b/buster/home_files/eeepc/.Xresources
@@ -0,0 +1,15 @@
+! otherwise various applications will assume merely 8 colors
+XTerm.termName: xterm-256color
+
+! font
+XTerm*faceName: -gnu-unifont-*-*-*-*-*-*-*-*-*-*-*
+XTerm*faceSize: 8
+
+! white on black
+XTerm*reverseVideo: on
+
+! blink screen instead of sound
+XTerm*visualBell: on
+
+! proper ALT as META key treatment
+XTerm*eightBitInput:  false
diff --git a/buster/home_files/eeepc/.xinitrc b/buster/home_files/eeepc/.xinitrc
index 8b932c5..250fd77 100644
--- a/buster/home_files/eeepc/.xinitrc
+++ b/buster/home_files/eeepc/.xinitrc
@@ -3,6 +3,9 @@
 # Set keymap.
 setxkbmap de
 
+# Load xterm settings
+xrdb -merge ~/.Xresources
+
 # Redshift to Berlin, Germany.
 redshift -rl 53:13 &