[opensuse] 15.1 .Xresources not honored - Where to set xterm*termName: xterm-256color
All, Using zsh on 15.1 my prompt was set without color. The problem is the xterm TERM variable (resource xterm.termName: xterm-256color) is not set as specified in my ~/.Xresources file. Where to set xterm-256color in 15.1? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/08/2019 01:30 AM, David C. Rankin wrote:
All,
Using zsh on 15.1 my prompt was set without color. The problem is the xterm TERM variable (resource xterm.termName: xterm-256color) is not set as specified in my ~/.Xresources file.
Where to set xterm-256color in 15.1?
Since this was only needed with zsh, I just set an export in /etc/zshenv, e.g. export TERM=xterm-256color Strange this was not needed on 42.3 or 15.0. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/08/2019 01:58 AM, David C. Rankin wrote:
On 06/08/2019 01:30 AM, David C. Rankin wrote:
All,
Using zsh on 15.1 my prompt was set without color. The problem is the xterm TERM variable (resource xterm.termName: xterm-256color) is not set as specified in my ~/.Xresources file.
Where to set xterm-256color in 15.1?
Since this was only needed with zsh, I just set an export in /etc/zshenv, e.g.
export TERM=xterm-256color
Strange this was not needed on 42.3 or 15.0.
What about setting xterm-256color system-wide in /etc/X11/xinit/xinitrc.common which is then sourced on X startup? That would seem to avoid problems of having to do this on a shell-by-shell basis. I still haven't found out why it is enabled by default in 42.3 and 15.0 with the default setting TERM=xterm, but not in 15.1. What changed? -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hello David, did you do an xrdb ~/.Xresources after modifying .Xresources? Without this it will not work. Best regards Dieter Am Samstag, 8. Juni 2019, 08:30:22 CEST schrieb David C. Rankin:
All,
Using zsh on 15.1 my prompt was set without color. The problem is the xterm TERM variable (resource xterm.termName: xterm-256color) is not set as specified in my ~/.Xresources file.
Where to set xterm-256color in 15.1?
-- ----------------------------------------------------------- Dr.-Ing. Dieter Jurzitza 76131 Karlsruhe -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 06/08/2019 03:44 AM, Dr.-Ing. Dieter Jurzitza wrote:
Hello David, did you do an
xrdb ~/.Xresources
after modifying .Xresources? Without this it will not work. Best regards
Dieter
I have my ~/.Xresources set with: xterm*termName: xterm-256color Xterm*saveLines: 4096 XTerm*metaSendsEscape: true xterm*VT100.geometry: 116x68 xterm*faceName: Liberation Mono:size=8:antialias=false xterm*font: 7x13 XTerm*colorBDMode: true xterm*background: #06090E xterm*foreground: #eff0f1 XTerm*scrollBar: true XTerm*rightScrollBar: true In the past I have not had to manually run xrdb because the X11/Xresources sourced the user ~/.Xresources. This does not seem to be happening in 15.1 for some reason. I haven't diff'ed all the /etc/X11 files yet, but something must have changed. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
David C. Rankin
-
Dr.-Ing. Dieter Jurzitza