home projects speaker

Dreamscene effect on Ubuntu

Note

Please note that this is an archived post, so links, code and the communicated message might be outdated. YMMV

Stumbled over a great effect for my gnome desktop on Ubuntu Studio, a Dreamscene look-a-like effect. The best thing was that I only needed 2 lines in the console for making this effect!

What is Windows Dreamscene? Windows Dreamscene is one of the extras Microsoft has provided for Windows Vista Ultimate users. Windows DreamScene is a utility that allows videos and other optimized animations to be used as desktop wallpapers. It is one of the Windows Ultimate Extras. Prior to its official announcement, DreamScene was rumored to be in creation under the names Motion Desktop and Borealis. Enough facts, this is how you do it:

Note: You can only do this in a Gnome GUI! Nautilus draws the desktop (including the icons) for you in Gnome by default. You 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 you have the desktop to ourselves, 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

If you are fed up with playing around and want your old desktop back, use this line in the terminal:

gconftool-2 --type bool --set /apps/nautilus/preferences/show_desktop true && nautilus

Sources: winmatrix.com
(m.sudoku - "DreamScene for Linux: Screensaver as Desktop Wallpaper"), wikipedia.org(dreamscene).


About the author

Hi! My name is Alexander, and I am a creative frontender, specializing in UX, accessibility, universal design, frontend-architecture, node and design systems. I am passionate with open source projects and love to dabble with new emerging technologies related to frontend. With over 24 years of frontend experience, I have earned the right to be called a veteran. I am a lover of life, technologist at heart. If I am not coding, I am cooking and I love whisky and cigars. Oh, and coffee, I LOVE coffee!

If you want to know more about me, here is some links you might want to check out: GitHub, Instagram, Twitter, LinkedIn, CodePen, Slides.com, npm,

Speaker

I am also an avid speaker on several topics! Check out some of the things I speak about, and contact me if you are interested in having me at your next event!