Skip to content

patriciogonzalezvivo/.glslScreenSaver

Repository files navigation

Make your own ScreenSaver using GlslViewer

Install

  1. Install GlslViewer
sudo add-apt-repository ppa:patriciogv/glslviewer-ppa
sudo apt-get update
sudo apt install glslviewer
  1. Install Xprintidle:
sudo apt install xprintidle
  1. 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
  1. 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
  1. 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

Should look like this

Or run gnome-tweaks, Click on Startup Applications then the + button and search for glslScreenSaver.

Set it up

Edit the ~/.glslScreenSaver.yaml to choose how much time and what shader (o list of shaders) should run

nano ~/.glslScreenSaver.yaml

Make your own screensaver

  1. Duplicate any of the default shaders under ~/.glslScreenSaver/
  2. Edit it with your favorite code editor and then add it to ~/.glslScreenSaver.yaml
  3. 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

About

Make your own custom ScreenSaver in linux using GlslViewer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages