Here's how you can install and use XScreensaver in Ubuntu Linux. 1. Open a terminal window. 2. Type in the following commands, then hit Enter after each. sudo apt-get remove gnome-screensaver sudo apt-get install xscreensaver xscreensaver-gl-extra xscreensaver-data-extra sudo gedit /etc/xdg/autostart/screensaver.desktop 3. When GEdit loads, paste in the following text to create a file for autostart. [Desktop Entry] Name=Screensaver Type=Applicaton Exec=xscreensaver -nosplash
For more, see the original article at the link below.
Install and enable XScreensaver | Noobslab