Make your own ScreenSaver using GlslViewer
- Install GlslViewer
sudo add-apt-repository ppa:patriciogv/glslviewer-ppa
sudo apt-get update
sudo apt install glslviewer
- Install
Xprintidle
:
sudo apt install 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
- Link the
config.yaml
to your user folder as.glslScreenSaver.yaml
. That's the file glslScreenSaver will use as configuration file.
cd ~
ln -s .glslScreenSaver/config.yaml .glslScreenSaver.yaml
- Add GlslScreenSaver to run at the begining of your session. Here you have two options:
Run gnome-session-properties
, Click on Add
and then fill the following data
Name: GlslScreenSaver
Command: glslScreenSaver daemon
Or run gnome-tweaks
, Click on Startup Applications
then the +
button and search for glslScreenSaver
.
Edit the ~/.glslScreenSaver.yaml
to choose how much time and what shader (o list of shaders) should run
nano ~/.glslScreenSaver.yaml
- Duplicate any of the default shaders under
~/.glslScreenSaver/
- Edit it with your favorite code editor and then add it to
~/.glslScreenSaver.yaml
- Try it out:
glslScreenSaver
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