GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kconnour/background-changer

BranchesTags
Open more actions menu

Latest commit

 

History

6 Commits
6 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
README.rst
README.rst
 
 
background_changer.py
background_changer.py
 
 

Repository files navigation

background-changer

This code programatically changes the desktop backgrounds to user-defined images. This only works on Gnome-based operating systems. I couldn't find a program that did this so I made my own.

Setup

Start by cloning the repo and opening background_changer.py. Change the background_images variable to the path of the folder containing images you'd like to cycle through. Also note that I set the dbus address in the constructor and I don't think this changes between distros, but I'm not positive.

Then open cron in Terminal with crontab -e and set the times when you'd like this code to cycle through backgrounds. You can either set your Python interpreter here or simply shebang background_changer.py. For example, I change my background everyday at midnight with this command: 0 0 * * * /usr/bin/python3.10 /home/kyle/repos/background-changer/background_changer.py. If you get any errors you can also capture the error by appending > /home/kyle/.cron_stdout_background.txt 2>&1 to that command.

As long as the required number of images are in the directory you set you should be all set!

About

No description, website, or topics provided.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.