I am sure that many of you are fans of “The Matrix” series. And many of you might be using the Matrix Screensavers in your system.

But did you ever think like this: “Why cant that glowing green glyphs that rains in black screen be Indic ?”

Well, Not a bad Idea. Right?

Ok, Shall we try to hack the glmatrix screen saver? Here you go!

  1. Download the xscreensaver sourcecode from http://www.jwz.org/xscreensaver/download.html

  2. Configure and make it(just to ensure that you have required libraries in your machine)

  3. Goto hacks/images folder of that source code. You will see matrix3.xpm file there. Backup it , it is valuable:)

  4. I am going to use Hindi glyphs(You can use the glyphs from your mother tongue).Now we need to create one xpm image file with same dimension and size of the original one. Write one html page with table and arrange the alphabets there. Note the table should be a 512*598 pixels 13 rows, 16 columns.

  5. Refer the following Hindi table. Take a screenshot of the html and get the table alone. You may use the source code of the below table for your language.

! @ # $ % ^ & * ( ) _ + , / .
कु नु रु चु पु
र‍ कू
धा
क्ष @ ( ) _ + , / .
* ! @ # $ ​​​​~ ÷ ¾ , ¼ ½
क्ष पो नु
रू भू जुु गुु सु मु नि षि वी
क्ष ळ‍
& ज्ञ श्र
                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          </font><br /> 6. Open GIMP and create a new image with image with 512*598 pixel size. paste the table screenshot on the blank image. You can save it as matrix3.xpm file.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          7. From my experiments I found that the image should be the mirror copy of the the table image.So flip the image horizontally to get the mirror image and save
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          8. You can see that the size of the image around 601 KB. But the actual image should be around 301 KB file. Go to Layers-> Colours->posterize. And give the number of colours as 91 (some value around 90). Save it.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          9. Now you have the matrix glyph image ready.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          10. goto hacks/glx folder. Apply the below patch to glmatrix.c
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <blockquote>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                            1079c1079<br /> < XSCREENSAVER_MODULE_2 ("GLMatrix", glmatrix, matrix) --- > XSCREENSAVER_MODULE_2 (&#8220;Hindi Matrix&#8221;, glmatrix, matrix)
                                                                                                                                                                                                                                                                                                                                                                                                                                                          </p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </blockquote>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          11. Recompile it! Done? No, wait. We need to add this as a screensaver to Gnome-screensaver<br /> 12. Create one Hindi Matrix.desktop file in usr/share/applications/screensavers folder. Here is my file
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <blockquote>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                            [Desktop Entry]<br /> Encoding=UTF-8<br /> Name=Hindi Matrix<br /> Comment=Draws 3D dropping characters similar to what is seen in the title sequence of &#8220;The Matrix&#8221;, written by Jamie Zawinski. This is a Hindi glyph version written by Santhosh Thottingal.<br /> TryExec=himatrix<br /> Exec=himatrix -root -speed 5.0 -density 50<br /> StartupNotify=false<br /> Terminal=false<br /> Type=Application<br /> Categories=Screensaver<br /> X-Ubuntu-Gettext-Domain=xscreensaver
                                                                                                                                                                                                                                                                                                                                                                                                                                                          </p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </blockquote>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          13. Copy the glmatrix binary to usr/lib/xscreensaver/himatrix.
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          14. Now go to System-> preferences -> Screensave. Your screensaver should be listed there. See my screenshot
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          <a href="http://pics.livejournal.com/santhoshtr/pic/0000b173/"><img src="http://pics.livejournal.com/santhoshtr/pic/0000b173" width="75%" height="75%" border='0' /></a>
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          You can download Hindi and Malayalam matrix deb package from <a href="http://download.savannah.nongnu.org/releases/smc/Screensaver">here </a>
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>

                                                                                                                                                                                                                                                                                                                                                                                                                                                        <p>
                                                                                                                                                                                                                                                                                                                                                                                                                                                          Happy Hacking!!!
                                                                                                                                                                                                                                                                                                                                                                                                                                                        </p>