From 414042d22181bf584697b5ec796ed9aec55d18f0 Mon Sep 17 00:00:00 2001 From: bryce Date: Tue, 2 Jun 2015 14:14:13 -0700 Subject: [PATCH] Fix xterm color palette to match xterm From XTerm-col.ad and /etc/X11/rgb.txt: *VT100*color0: black 0 0 0 #000000 *VT100*color1: red3 205 0 0 #cd0000 *VT100*color2: green3 0 205 0 #00cd00 *VT100*color3: yellow3 205 205 0 #cdcd00 *VT100*color4: blue2 0 0 238 #0000ee *VT100*color5: magenta3 205 0 205 #cd00cd *VT100*color6: cyan3 0 205 205 #00cdcd *VT100*color7: gray90 229 229 229 #e5e5e5 *VT100*color8: gray50 127 127 127 #7f7f7f *VT100*color9: red 255 0 0 #ff0000 *VT100*color10: green 0 255 0 #00ff00 *VT100*color11: yellow 255 255 0 #ffff00 *VT100*color12: rgb:5c/5c/ff #5c5cff *VT100*color13: magenta 255 0 255 #ff00ff *VT100*color14: cyan 0 255 255 #00ffff *VT100*color15: white 255 255 255 #ffffff Patch thanks to Casper Ti. Vector. Fixes: LP #1260924 Reviewed-by: Bryce Harrington --- terminatorlib/prefseditor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/prefseditor.py b/terminatorlib/prefseditor.py index b46f6b47..a138779d 100755 --- a/terminatorlib/prefseditor.py +++ b/terminatorlib/prefseditor.py @@ -69,8 +69,8 @@ class PrefsEditor: 'linux': '#000000:#aa0000:#00aa00:#aa5500:#0000aa:\ #aa00aa:#00aaaa:#aaaaaa:#555555:#ff5555:#55ff55:#ffff55:#5555ff:\ #ff55ff:#55ffff:#ffffff', - 'xterm': '#000000:#cd0000:#00cd00:#cdcd00:#1e90ff:\ -#cd00cd:#00cdcd:#e5e5e5:#4c4c4c:#ff0000:#00ff00:#ffff00:#4682b4:\ + 'xterm': '#000000:#cd0000:#00cd00:#cdcd00:#0000ee:\ +#cd00cd:#00cdcd:#e5e5e5:#7f7f7f:#ff0000:#00ff00:#ffff00:#5c5cff:\ #ff00ff:#00ffff:#ffffff', 'rxvt': '#000000:#cd0000:#00cd00:#cdcd00:#0000cd:\ #cd00cd:#00cdcd:#faebd7:#404040:#ff0000:#00ff00:#ffff00:#0000ff:\