Coder Social home page Coder Social logo

gnome_wallpaper_carousel's Introduction

Gnome3 automatic wallpaper carousel

This simple program is being developed with the idea of making a daemon that could change the wallpaper automatically.

Usage

Configuration

The main file in this repo is carousel.sh. The config.json file only contains the directory of the wallpapers.

crontab

In order to make this script run automatically a cron job must be set up.

There are a lot tutorials online, but in a nutshell:

  1. Run crontab -e -u your_username
  2. Add a new rule like */10 * * * * /path/to/repo/carousel.sh >/dev/null 2>&1
  3. Save and exit

This rule executes the script once every 10 minutes. For more detailed information about crontab timing go check out this (amazing and simple) website.

Clone the repo in the bin folder or in the folders you keep for custom scripts so that you don't have it laying around.

It is important that all files do not contain any spaces.

gsettings

In this stackoverflow answer it's explained why gsettings does not play well with cron and crontab.

The latest iteration of this script keeps in consideration the picture-uri-dark option in gsettings in Ubuntu 22.04.

gnome_wallpaper_carousel's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.