Giter Club home page Giter Club logo

.glslscreensaver's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.