Make your own ScreenSaver using GlslViewer
Install
-
Install GlslViewer
-
Install XScreenSaver and Xprintidle:
sudo apt install xscreensaver xprintidle
- Clone this repo in your user folder. It will be clone in
.glslScreenSaver
so you will not see it
cd
git clone https://github.com/patriciogonzalezvivo/.glslScreensaver.git
- Run
gnome-session-properties
, Click onAdd
and then fill the following data
Name: GlslScreenSaver
Command: /home/[your_user]/.glslScreenSaver/init.sh
Change the shaders
- See what options you have
./setup.sh
and choose the one by typing the id number
cd ~/.glslScreenSaver
./setup.sh
- Test it using
./run.sh
cd ~/.glslScreenSaver
./run.sh
Make your own screensaver
- Duplicate any of the default shaders under
~/.glslScreenSaver/shaders/
- Edit it with your favorite code editor
- try it out with glslViewer
Note: If you are new to glsl shader you probably want to take a look to https://thebookofshaders.com/ to learn how to code them