2019年12月16日星期一

Changing Display font in XTerm and UXTerm

Edit .Xresources to set the desire True Type font for UXTerm and XTerm.
XTerm*renderFont: true
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 10

UXTerm*renderFont: true
UXTerm*faceName: DejaVu Sans Mono
UXTerm*faceSize: 10
Use xrdb to merge your setting into the X server resource database.
xrdb -merge ~/.Xresources
Use xrdb -q to query the resulting resource setting:
$ xrdb -q
*customization: -color
UXTerm*faceName:        DejaVu Sans Mono
UXTerm*faceSize:        10
UXTerm*renderFont:      true
XTerm*faceName: DejaVu Sans Mono
XTerm*faceSize: 10
XTerm*renderFont:       true
Xcursor.size:   18
Xcursor.theme:  DMZ-White
Xcursor.theme_core:     true
You can find the correct font name with the following command:
fc-list | cut -f2 -d: | sort -u

2019年12月11日星期三

Add directory to library path

# vi /etc/ld.so.conf.d/example.conf

add the following to the file

/usr/local/lib

# ldconfig


to verify  it

# ldconfig -v | grep /usr/local/lib