Note: this wiki is no longer maintained. If you have any questions related to this wiki, please post them on the CrunchBang forums.

Translations of this page?:

Z-REDUNDANT HOWTO use xscreensaver instead of gnome-screensaver [OUTDATED]

This is based on agaz's howto in the Tips, Tricks and Scripts forum.

What is the reason for this howto?

If you can't find a suitable screensaver in the ones that come installed with #! then you might like to use the xscreensaver package instead.

Installing the xscreensaver packages

Run the following command in a terminal:

sudo apt-get install xscreensaver xscreensaver-gl xscreensaver-gl-extra xscreensaver-data xscreensaver-data-extra

Enter your password and accept the changes, providing you are happy with what is proposed.

Note: These packages can alternatively be installed using the Synaptic Package Manager

Avoiding conflict between gnome-screensaver and xscreensaver

It is important to avoid running both screensaver collections at the same time. This can be achieved by:

Optional: remove gnome-screensaver

Run the following command in a terminal:

sudo apt-get remove gnome-screensaver

Then: disable gnome-screensaver in autostart.sh

Open the autostart.sh file for editing and comment out the line underneath ”# Start screensaver deamon”. So, the line:

# Start screensaver deamon
gnome-screensaver &

becomes:

# Start screensaver deamon
# gnome-screensaver &

Save the autostart.sh file, close it and reboot your system.

Configuring xscreensaver

In a terminal enter the command “xscreensaver” and choose your settings in the window that will open.

Important: On the “Advanced” tab make sure that the “Power Management Enabled” box is unchecked.

Once you are happy, close the window and the terminal.

Now the autostart.sh file must be changed to run xscreensaver on startup. Open it for editing and add the following line in the ”# Start screensaver deamon” section:

xscreensaver -nosplash &

Save and close the file.

Modifying the openbox menu

Open the GUI Menu Editor (right-click → Preferences → Openbox Config → GUI Menu Editor) and change the Execute value for the “Screensaver” menu item to:

xscreensaver-demo

The power preferences were previously accessed via the gnome-screensaver item, and are therefore no longer available. So create a new menu item called “Power Preferences” with the following Execute value:

gnome-power-preferences

Save, exit and reboot, and check that everything is working. Enjoy your new screensaver!

(machinebacon) #!'s default screensaver is xscreensaver. Marked as [outdated]

 
howto/install_xscreensaver.txt · Last modified: 2012/05/25 17:54 by machinebacon
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported

Powered by DokuWiki. Hosted by Linode.
Copyright © 2010 CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.