I'd like to use truetype font Dejavu Sans in the lock screen of xscreensaver. Unfortunately, this font wasn't listed by
Code: Select all
xlsfonts
The standard path of Dejavu Sans in Debian Wheezy is
Code: Select all
/usr/share/fonts/truetype/ttf-dejavu
Code: Select all
xset q
Possible solution I found:
Code: Select all
sudo mkfontscale /usr/share/fonts/truetype/ttf-dejavu
sudo mkfontdir /usr/share/fonts/truetype/ttf-dejavu
xset fp+ "/usr/share/fonts/truetype/ttf-dejavu"
Code: Select all
xfontsel
Code: Select all
/usr/share/X11/xorg.conf.d/04-fonts.conf
Code: Select all
Section "Files"
FontPath "/usr/share/fonts/truetype/ttf-dejavu"
EndSection
Thanks