.XresourcesのXTerm * faceNameが反映されない

.XresourcesのXTerm * faceNameが反映されない

フォントを変更してzshのプロンプトをカスタマイズしようとしましたが、その間にxtermがXTerm*faceName反射しなくなりました~/.Xresources

これは私のドットファイルです。

~/.xinitrc

#!/bin/sh

# /etc/X11/xinit/xinitrc
#
# global xinitrc file, used by all X sessions started by xinit(startx)

# invoke global X session script
. /etc/X11/Xsession

xrdb -merge $HOME/.Xresources
exec awesome 

~/.Xresources

XTerm*termName: xterm-256color
XTerm*locale:   true
XTerm*selectToClipboard:    true
XTerm*faceName: Shure Tech Mono Nerd Font Complete
XTerm*faceSize: 12

!TomorrowNightEighties
#define t_background        #2d2d2d
#define t_current_line      #393939
#define t_selection         #515151
#define t_foreground        #cccccc
#define t_comment           #999999
#define t_red               #f2777a
#define t_orange            #f99157
#define t_yellow            #ffcc66
#define t_green             #99cc99
#define t_aqua              #66cccc
#define t_blue              #6699cc
#define t_purple            #cc99cc


*.foreground:   t_foreground
*.background:   t_background
*.cursorColor:  #aeafad

! Black / Grey
*.color0:       #000000
*.color8:       #666666

! Red / Bright Red
*.color1:       t_red
*.color9:       #FF3334

! Green + Bright Green
*.color2:       t_green
*.color10:      #9ec400

! Yellow (Orange) + Bright Yellow (Yellow)
*.color3:       t_orange
*.color11:      t_yellow

! Blue + Bright Blue
*.color4:       t_blue
*.color12:      t_blue

! Magenta (Purple) + Bright Magenta
*.color5:       t_purple
*.color13:      #b777e0

! Cyan (Aqua) + Bright Cyan
*.color6:       t_aqua
*.color14:      #54ced6

! Light Grey (Selection) + White (Current Line)
*.color7:       t_selection
*.color15:      t_current_line

スクリーンショットは次のとおりです。

スクリーンショット:左は私が望む実際のフォントですが、実際には右側に表示されます。

VMを再起動しましたが(= restarted X)、テーマなどの他の要素は正しく反映されますが、フォントはまだ古いフォントです。

その他の情報:

vmwareのUbuntu 18.04

ウィンドウマネージャとして素晴らしいです。

シェルとしての zsh

ベストアンサー1

関連フォント家族名前はShureTechMono NF、を使用して見つけることができますfc-list。これはスクリーンショットです。 ShureTechMono NFを使用したxterm

マニュアルfc-listページでは、このコマンドを使用することをお勧めします(:すべてと一致し、familyxtermで使用される一連の顔を示すパラメータ:

fc-list : family

xterm マニュアルページ項目faceName使用例も提供されますfc-list

fc-list :scalable=true:spacing=mono: family

おすすめ記事