ALT Linux Distributions development
 help / color / mirror / Atom feed
* [devel-distro] [PATCH 1/4] features/x11-neatterm: add custom terminal settings
@ 2016-07-05 14:24 Konstantin A. Lepikhov
  2016-07-05 14:24 ` [devel-distro] [PATCH 2/4] lists/tagged/e17: update package list Konstantin A. Lepikhov
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Konstantin A. Lepikhov @ 2016-07-05 14:24 UTC (permalink / raw)
  To: devel-distro; +Cc: Konstantin A. Lepikhov

This adds Xdefaults customisation for *Term family (XTerm/Rxvt/*).
Includes font and color changes intended for daily usage.
---
 features.in/x11-neatterm/README                    |  3 +
 features.in/x11-neatterm/config.mk                 |  3 +
 .../rootfs/image-scripts.d/90-x11-neatterm         | 84 ++++++++++++++++++++++
 3 files changed, 90 insertions(+)
 create mode 100644 features.in/x11-neatterm/README
 create mode 100644 features.in/x11-neatterm/config.mk
 create mode 100755 features.in/x11-neatterm/rootfs/image-scripts.d/90-x11-neatterm

diff --git a/features.in/x11-neatterm/README b/features.in/x11-neatterm/README
new file mode 100644
index 0000000..45490ae
--- /dev/null
+++ b/features.in/x11-neatterm/README
@@ -0,0 +1,3 @@
+Nice default settings for *term apps family (Xterm/Rxvt/etc)
+includes color settings and font settings
+
diff --git a/features.in/x11-neatterm/config.mk b/features.in/x11-neatterm/config.mk
new file mode 100644
index 0000000..93effe1
--- /dev/null
+++ b/features.in/x11-neatterm/config.mk
@@ -0,0 +1,3 @@
+use/x11-neatterm: use/x11
+	@$(call add_feature)
+	@$(call add,THE_PACKAGES,fonts-bitmap-terminus)
diff --git a/features.in/x11-neatterm/rootfs/image-scripts.d/90-x11-neatterm b/features.in/x11-neatterm/rootfs/image-scripts.d/90-x11-neatterm
new file mode 100755
index 0000000..3afd721
--- /dev/null
+++ b/features.in/x11-neatterm/rootfs/image-scripts.d/90-x11-neatterm
@@ -0,0 +1,84 @@
+#!/bin/sh
+
+if [ ! -x /usr/bin/X ]; then
+	echo "X not installed!" >&2
+	exit 0
+fi
+
+X_CFG=/home/altlinux/.Xdefaults
+cat >> "$X_CFG" <<- EOF
+Rxvt*font: -*-terminus-*-*-*-*-20-*-*-*-*-*-iso10646-1
+Rxvt*color0: black
+Rxvt*color1: tomato3
+Rxvt*color2: pale green
+Rxvt*color3: goldenrod2
+Rxvt*color4: #003355
+Rxvt*color5: magenta3
+Rxvt*color6: LightBlue3
+Rxvt*color7: gray100
+Rxvt*color8: gray30
+Rxvt*color9: tomato
+Rxvt*color10: spring green
+Rxvt*color11: gold
+Rxvt*color12: blue
+Rxvt*color13: magenta
+Rxvt*color14: LightBlue2
+Rxvt*color15: white
+Rxvt*colorUL: yellow
+Rxvt*colorBD: white
+!Rxvt*background: #112233
+Rxvt*background: black
+Rxvt*foreground: #FFEEBB
+Rxvt*cursorColor: Gold
+
+UXTerm*background: black
+!UXTerm*foreground: green
+UXTerm*VT100*font: -*-terminus-*-*-*-*-20-*-*-*-*-*-iso10646-1
+UXTerm*color0: black
+UXTerm*color1: tomato3
+UXTerm*color2: pale green
+UXTerm*color3: goldenrod2
+UXTerm*color4: #003355
+UXTerm*color5: magenta3
+UXTerm*color6: LightBlue3
+UXTerm*color7: gray100
+UXTerm*color8: gray30
+UXTerm*color9: tomato
+UXTerm*color10: spring green
+UXTerm*color11: gold
+UXTerm*color12: blue
+UXTerm*color13: magenta
+UXTerm*color14: LightBlue2
+UXTerm*color15: white
+UXTerm*colorUL: yellow
+UXTerm*colorBD: white
+!UXTerm*background: #112233
+UXTerm*foreground: #FFEEBB
+UXTerm*cursorColor: Gold
+
+XTerm*background: black
+!XTerm*foreground: green
+XTerm*VT100*font: -*-terminus-*-*-*-*-20-*-*-*-*-*-iso10646-1
+XTerm*color0: black
+XTerm*color1: tomato3
+XTerm*color2: pale green
+XTerm*color3: goldenrod2
+XTerm*color4: #003355
+XTerm*color5: magenta3
+XTerm*color6: LightBlue3
+XTerm*color7: gray100
+XTerm*color8: gray30
+XTerm*color9: tomato
+XTerm*color10: spring green
+XTerm*color11: gold
+XTerm*color12: blue
+XTerm*color13: magenta
+XTerm*color14: LightBlue2
+XTerm*color15: white
+XTerm*colorUL: yellow
+XTerm*colorBD: white
+!XTerm*background: #112233
+XTerm*foreground: #FFEEBB
+XTerm*cursorColor: Gold
+EOF
+:
-- 
2.7.4



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2016-07-27 13:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-05 14:24 [devel-distro] [PATCH 1/4] features/x11-neatterm: add custom terminal settings Konstantin A. Lepikhov
2016-07-05 14:24 ` [devel-distro] [PATCH 2/4] lists/tagged/e17: update package list Konstantin A. Lepikhov
2016-07-27 11:27   ` Michael Shigorin
2016-07-05 14:24 ` [devel-distro] [PATCH 3/4] sub.in/stage2/scripts: add microcode update trigger Konstantin A. Lepikhov
2016-07-27 11:25   ` Michael Shigorin
2016-07-27 11:36     ` Konstantin Lepikhov
2016-07-05 14:24 ` [devel-distro] [PATCH 4/4] features/firmware: add right ucode for Intel Konstantin A. Lepikhov
2016-07-27 11:27   ` Michael Shigorin
2016-07-27 11:55     ` Sergey V Turchin
2016-07-27 12:41       ` Michael Shigorin
2016-07-27 13:00         ` Konstantin Lepikhov
2016-07-27 11:22 ` [devel-distro] [PATCH 1/4] features/x11-neatterm: add custom terminal settings Michael Shigorin

ALT Linux Distributions development

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-distro/0 devel-distro/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-distro devel-distro/ http://lore.altlinux.org/devel-distro \
		devel-distro@lists.altlinux.org devel-distro@lists.altlinux.ru devel-distro@lists.altlinux.com
	public-inbox-index devel-distro

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-distro


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git