Matrix Screensaver


This program is not a production-quality screensaver.

This repository provides a basic Matrix-style screensaver which can be stopped by pressing Enter. Additionally, script matrix_screensaver_img allows images of this style to be generated e.g. for use as background images.

Matrix Screensaver Sample Screenshot

Note that this was mainly written for educatorial purposes. Today, it can serve as a quick 2D graphics test. The code contains use for some advanced Java features: Making a screenshot of the current display and changing the monitor’s resolution.

See also: cmatrix(1)


Start the screensaver with matrix_screensaver -c. If -c is left out, it attempts to change the screen resolution to 640x480 (for additional nostalgia…) while running the screensaver.

Start the image generation with matrix_screensaver_img to obtain file matrix-desktop.png. Note that it only works for single-monitor use cases. Website 5 (1.0.2) – no Flash, no JavaScript, no Webfont, no Copy Protection, no Mobile First. No bullshit. No GUI needed. Works with any browser.

Created: 2019/12/21 00:31:23 | Revised: 2022/09/18 21:15:53 | Tags: matrix, screensaver, mdvl-matrix-screensaver, resolution | SRC (Pandoc MD) | GPL

Copyright (c) 2009, 2014, 2019 For further info send an e-mail to

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <>.