Xscreensaver as wallpaper

I usually avoid xscreensaver like the plague (as I have said elsewhere on these blogs). However, there is one neat trick I like about them.

If you install the xscreensaver package, you can trigger an individual screensaver and force it to run on the X background — like wallpaper.

The screensaver moves and responds just like normal, except you keep all the Openbox functions and window manager behavior.

First, kill conky. Sorry, but conky’s refresh is going to make your screensaver flip out. (Yes, like a ninja.) It has the same effect it did on the xcompmgr effects. You can live without it. Go get yourself some dockapps to take its place. I already showed you two cool ones.

Next, trigger the screensaver you like with the root flag, and make sure you force it into the background. You can do this from a terminal window like this.

/usr/libexec/xscreensaver/goop -root &

(For other distros, you might have to poke around to find the screensaver’s location. This is on Arch, and it strikes me as an unusual location, but I’m not 100 percent sure.)

Note the -root flag, and the & at the end. For most (I can’t say all, because I haven’t checked) screensavers, the root flag pushes it to the X root window and voila! (I love saying that :mrgreen:) a screensaver for wallpaper.

(P.S.: If you use pixelmap inheritance for pseudo-transparency, like with urxvt, you’ll notice that the terminal emulator still uses your root window image as its pixelmap. It’s not going to pick up the screensaver. Sorry.)

If you have one you know you want, I suppose you could add it to your .xinitrc file, and it would be there on startup. I like having it in my Openbox menu, so I can pick from two or three.

xmatrix is a good one for this. coral is also nice, and goop runs well. Starfish is definitely in the top three. I don’t have 3D acceleration on this laptop, so I’ll leave it to you to try the heavyweights (send me screenshots if you get GLBlur to run).

I haven’t decided yet, but I might, just might, see if the xcompmgr transparency effects work with this. I have a feeling that might cause my little 300Mhz machine to melt down, though. It’s already running at nearly 80 percent with nothing else running, if htop is to be believed. ;)
P.S.: If you don’t remember what a particular screensaver looks like, look here.

P.P.S: Combining xcompmgr and xscreensaver doesn’t produce the glitz you would hope for. Like the pseudo-transparency I mentioned above, xcompmgr doesn’t seem to notice the shifting wallpaper, and instead sets its transparencies against the image on the root window. Furthermore, the shadow effects are corrupted as the screensaver moves, so there’s a flickering effect at times. It was worth a try. ;)

Leave a Reply




Welcome!

Most recent desktops


September 2, 2008
IceWM-lite on Ubuntu 8.0.4.1
1Ghz Pentium III 512Mb PC133


August 14, 2008
Openbox 3.4.7.2 on Arch Linux
750Mhz Celeron 128Mb PC100


August 27, 2008
Openbox 3.4.7.2 on Crux Linux
550Mhz Celeron 192Mb PC100


June 22, 2008
IceWM 1.2.35 on Arch Linux
OLPC XO-1

Most recent game


StellaX 2.6.1 on Crux Linux
1Ghz Pentium III 512Mb PC133

Be counted!

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blogs worth watching

Ubuntu Feeds

RSS Planet Ubuntu Users

  • An error has occurred; the feed is probably down. Try again later.

Blog Stats

  • 749,002 hits

Categories