Skip navigation

Harald Markus Wirth

Page Content:

Falling Matrix Code as Desktop Background


Gnome, does not work well with Compiz.
Tested under Ubuntu 9.04 Jaunty Jackalope.

I just found a tutorial for making an animated Matrix desktop with Compiz

In Gnome, Nautilus draws the desktop (including the icons) 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 ('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]
Name=No name
Name[en_IN]=Desktop matrix
Exec=/usr/lib/xscreensaver/glmatrix -root

(suggested by ElecBoy) 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

Content Management:

μCMS α1.6