Using a screen saver with Linux

Although screen savers are no longer the necessity that they once were, many PC users still employ them as a desktop tool. In this column we look at installing the Linux screen saver application and investigate an imaginative screen saver named WebCollage.

The screen saver application for Linux is called XScreenSaver ( and includes a large number of screen savers ranging from basic 2D effects to highly advanced 3D OpenGL-based scenery. To compile XScreenSaver, copy the source code to your hard drive and type the following commands in a shell:

$ tar -zxvf $ ./configure $ make

I encountered some problems compiling XScreenSaver with Red Hat Linux 8.0 as a result of the very new version of GCC included with the distribution. If you encounter an error, rerun the ‘make’ command — your problems may be solved.

To install XScreenSaver, log in as root or change to the superuser using the ‘su’ command and type the following:

$ make install

The XScreenSaver binaries will be installed under /usr/local/bin and the screen savers will be installed under /usr/local/lib/xscreensaver. Users of KDE may need to perform an additional installation step to use XScreenSaver properly, because KDE includes a simple configuration interface to XScreenSaver that must be turned off. To disable the screen saver, start the KDE Control Center, select Look & Feel-Screen saver and uncheck the ‘Enable Screen saver’ box. To install XScreenSaver, create a file named ‘xscreensaver.desktop’ in the directory ~/.kde/Autostart/ and add the following to it:

[Desktop Entry] Exec=/usr/local/bin/xscreensaver Name=XScreenSaver Type=Application X-KDE-StartupNotify=false

You will need to restart KDE for the changes to take place.

Configuring XScreenSaver

A GUI tool named ‘xscreensaver-demo’ is available to configure your screen savers. After starting the program you will see a list of available screen savers on the left; select one, and you’ll see a preview of it on the right. You can try any screen saver in full screen mode by selecting it from the list and clicking the Preview button. To configure one, select it and click the Settings button.


One screen saver of particular note (in­cluded with XScreenSaver) is WebCollage ( This nifty screen saver performs random searches of the Web using your idle Internet connection and displays a collage of the images it encounters. WebCollage randomly searches the Web, so from time to time it uncovers adult images (See here for a screenshot).

WebCollage requires some external software and configuration before it can be used. The chbg package has been included on this month’s cover CD and must be installed. To compile chbg, first copy the source code to your hard disk and type the following in a shell:

$ ./configure $ make

To install chbg, log in as root and type the following in a shell:

$ make install

To configure the WebCollage screen saver, start xscreensaver-demo, highlight WebCollage from the list of available screen savers and click the Settings button. Add the following line to the box labelled “Per-Image Filter Program”:

/usr/local/lib/xscreen saver/vidwhacker -stdin -stdout

WebCollage can also obtain its images in a much sneakier manner. Using the Driftnet program (on this month’s cover CD), WebCollage can sniff images from an Ethernet network. In other words, WebCollage can display images that your family/friends/colleagues are currently viewing on their computers, if you and they are on the same network. Obviously, Driftnet opens up a range of privacy issues and you shouldn’t use this feature of WebCollage if others will be offended by your snooping.

Driftnet can be compiled and installed by typing in a shell as root:

$ make $ make install

To enable Driftnet support in WebCollage, return to the WebCollage Settings menu and click on the Advanced >> button in the bottom right corner of the window. Add “-driftnet” to the end of the Command Line box and you will be ready to go.

Join the newsletter!

Error: Please check your email address.
Rocket to Success - Your 10 Tips for Smarter ERP System Selection
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Alastair Cousins

PC World
Show Comments

Cool Tech

SanDisk MicroSDXC™ for Nintendo® Switch™

Learn more >

Breitling Superocean Heritage Chronographe 44

Learn more >

Toys for Boys

Family Friendly

Panasonic 4K UHD Blu-Ray Player and Full HD Recorder with Netflix - UBT1GL-K

Learn more >

Stocking Stuffer

Razer DeathAdder Expert Ergonomic Gaming Mouse

Learn more >

Christmas Gift Guide

Click for more ›

Most Popular Reviews

Latest Articles


PCW Evaluation Team

Ben Ramsden

Sharp PN-40TC1 Huddle Board

Brainstorming, innovation, problem solving, and negotiation have all become much more productive and valuable if people can easily collaborate in real time with minimal friction.

Sarah Ieroianni

Brother QL-820NWB Professional Label Printer

The print quality also does not disappoint, it’s clear, bold, doesn’t smudge and the text is perfectly sized.

Ratchada Dunn

Sharp PN-40TC1 Huddle Board

The Huddle Board’s built in program; Sharp Touch Viewing software allows us to easily manipulate and edit our documents (jpegs and PDFs) all at the same time on the dashboard.

George Khoury

Sharp PN-40TC1 Huddle Board

The biggest perks for me would be that it comes with easy to use and comprehensive programs that make the collaboration process a whole lot more intuitive and organic

David Coyle

Brother PocketJet PJ-773 A4 Portable Thermal Printer

I rate the printer as a 5 out of 5 stars as it has been able to fit seamlessly into my busy and mobile lifestyle.

Kurt Hegetschweiler

Brother PocketJet PJ-773 A4 Portable Thermal Printer

It’s perfect for mobile workers. Just take it out — it’s small enough to sit anywhere — turn it on, load a sheet of paper, and start printing.

Featured Content

Product Launch Showcase

Latest Jobs

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?