Tuesday, September 8, 2009

Using Screensaver as Wallpaper on your Linux desktop

This is a interesting post I found on internet.. adding to my collection..
Credit goes to: http://blog.prashanthellina.com/2007/08/22/matrix-desktop/

Nautilus draws the desktop (including the icons) for you in gnome by default. We have to tell it to stop doing that, so we can do the matrix animation in its place. Nautilus can be configured using gconf.
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop false
Now that we have the desktop to ourselves, let us ask xscreensaver ‘glmatrix’ to start drawing itself in the desktop window (’root’ window).
/usr/lib/xscreensaver/glmatrix -root
If you want the animation every time you log in, open “~/.config/autostart/glmatrix.desktop” in your text editor and paste the following.
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=No name
Name[en_IN]=Desktop matrix
Exec=/usr/lib/xscreensaver/glmatrix -root
X-GNOME-Autostart-enabled=true

After playing around, if you want to get back to your default desktop, do
gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop true && nautilus

1 comment:

Sachin Gopal said...

Interesting. There is one package which lets you do it in debian. Forgot.