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

  • 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: