Using electricsheep as a psycedelic background image in Xubuntu

I am the type of person that will change my desktop background image VERY often because I feel that the image never really fits.

Suddenly, I remembered that I'd used electricsheep a couple of years ago, and that it makes some pretty funky pictures, and I also remembered something about a commandline switch, to specify which window the rendering of said funky picture should be in. So I installed it.

sudo aptitude install electricsheep

When it finished installing, I read the man page, and found the --root switch, which would render on the root window. I tried running electricsheep --root but nothing appeared on my desktop.

Of course, there is a way around this. electricsheep got a -window-id switch that is used by XScreensaver. Using this switch, I managed to get the rendering on the desktop. This simple command will start electricsheep and make it render psycedelic pictures right on your desktop.

electricsheep -window-id $(xwininfo -name Skrivebord | grep 'Window id' | cut -f4 -d\ )

If you'd like to use this, your desktop window isn't named Skrivebord (danish for desktop), use the command xwininfo and click on your desktop. It should give output like this:

bredsaal@semtex:~$ xwininfo

xwininfo: Please select the window about which you  
would like information by clicking the  
mouse in that window.

xwininfo: Window id: 0x1600003 "Skrivebord"

Absolute upper-left X: 0  
Absolute upper-left Y: 0  
Relative upper-left X: 0  
Relative upper-left Y: 0  
Width: 1792  
Height: 1344  
Depth: 24  
Visual Class: TrueColor  
Border width: 0  
Class: InputOutput  
Colormap: 0x20 (installed)  
Bit Gravity State: NorthWestGravity  
Window Gravity State: NorthWestGravity  
Backing Store State: NotUseful  
Save Under State: no  
Map State: IsViewable  
Override Redirect State: no  
Corners: +0+0 -0+0 -0-0 +0-0  
-geometry 1792x1344+0+0</code>

Of course, in the above, Skrivebord is the name of the desktop.

You should really try it out to fully apreciate the niceness.

Written by Jannich Brendle tor 15 oktober 2009 In How to

tags: electricsheephacklinuxxubuntu

Related posts