tsites
tsites computer tuition, website design, network security
articles

XScreensaver Screen Lock in Xubuntu complains about missing fonts

On Xubuntu, if you have the xScreensaver installed for screen lock, you might see some weird errors like these in yellow when it activates:

To solve, run this as root:

wget 'https://www.tsites.co.uk/sites/forum/dls/Dina.zip'
unzip -d /usr/share/fonts/Dina Dina.zip
cd /usr/share/fonts/Dina/BDF
mkfontscale
mkfontdir
dpkg-reconfigure fontconfig-config
fc-cache -f
xset +fp /usr/share/fonts/Dina/BDF/
echo 'dina font installed'

This downloads the Dina.zip file, then extracts it to /usr/share/fonts/Dina. It then sets up the font and installs it, then rebuilds the font cache.

If you activate the screensaver at this point, you won't see the error text in yellow anymore.

To make these changes permanent though, go to xUbuntu menu > Settings > Session and Startup. Click the 'Application Autostart' tab. Then click the 'Add' button. We need to run this command when xUbuntu starts:

xset +fp /usr/share/fonts/Dina/BDF/

Now each time you login, Dina will be active and you won't see these yellow font errors on your xScreensaver lock screen any more.

 

Back to Forum Listing