The Matrix Is Blue

by Lalit Kapoor on 2010-01-202010-01-21T02:07:39ZY-m-d">January 20, 20102010-01-21T02:07:39ZF j, Y

I got tired of looking at the matrix screensaver, it’s always green. I felt like changing the color, but there is no option provided to change the color in the preferences. I downloaded the code and made a simple one character change to make the screensaver blue.

The following is what I did

cd ~/projects
mkdir xscreensaver
cd xscreensaver
sudo apt-get source xscreensaver
sudo apt-get build-dep xscreensaver
cd xscreensaver-5.08/
sudo vim xscreensaver-5.08/hacks/glx/glmatrix.c

I changed g = 0xFF on line 785 to b = 0xFF
save and exit (:wq)

sudo ./configure
sudo make
sudo cp hacks/glx/glmatrix /usr/lib/xscreensaver/glmatrix

Now preview your screensaver to see the results!

blue matrix

  • SightUnseen
    Umm... Just wondering, did you base this off my older (admittedly less streamlined) tutorial?

    www.tree-of-souls.com/developm... I originally tried the simple character change, but it didn't quite produce the color I was going for. Also, if you modify the .xpm, you can make the glyphs any color you want. Open source ftw! :)
  • Given that your post is dated August 2010 and mine January 2010 there is no way I could have based it off of your tutorial. Glad to see other people exploring the same thing though :)
  • Repackage it and stick it on your own repo.
  • Vishal
    This is really awesum....good joob
    hope to read more of this cool stuff from you
blog comments powered by Disqus

Previous post:

Next post: