xtermはxresourcesを正しくロードしません。

xtermはxresourcesを正しくロードしません。

同様の質問がありますそこただし、ファイルのロードに失敗する.xinitrc原因となっているファイルの欠陥を特定することはできません。.Xresourcesそれぞれ.xinitrc

#!/bin/sh

[[ -f ~/.Xresources ]] && xrdb -merge -I$HOME ~/.Xresources

exec startxfce4

そのDEはxfce4ログインマネージャを使用せずにstartx実行されますarch。 Wikipediaとそこにある投稿を読んだが、この問題を解決する方法はないようです。

.Xresources書類

#define _background #272822
#define _color8 #303030

#define _foreground #d0d0d0
#define _color9 #ff0090

#define _color2 #66AA11
#define _color10 #80FF00

#define _color3 #c47f2c
#define _color11 #ffba68

#define _color4 #30309b
#define _color12 #5f5fee

#define _color5 #7e40a5
#define _color13 #bb88dd

#define _color6 #3579A8
#define _color14 #4eb4fa

#define _color7 #9999AA
#define _color15 #ffffff

xterm*background: _background
xterm*foreground: _foreground

xterm*cursorColor: _foreground

xterm*color0: _background
xterm*color1: _foreground
xterm*color2: _color2
xterm*color3: _color3
xterm*color4: _color4
xterm*color5: _color5
xterm*color6: _color6
xterm*color7: _color7
xterm*color8: _color8
xterm*color9: _color9
xterm*color10: _color10
xterm*color11: _color11
xterm*color12: _color12
xterm*color13: _color13
xterm*color14: _color14
xterm*color15: _color15

ベストアンサー1

問題は、.Xresourcesファイルの構文が正しくないことです。構文が#defineうまくいかなかったようで、16進コードを使用して問題を直接解決しました。一例:

*.foreground:   #ababab
*.background:   #000000
*.cursorColor:  #ababab

おすすめ記事