https://github.com/dsnet/wallchd
Very simple wallpaper changing daemon for Gnome3 desktop environments.
https://github.com/dsnet/wallchd
Last synced: about 1 month ago
JSON representation
Very simple wallpaper changing daemon for Gnome3 desktop environments.
- Host: GitHub
- URL: https://github.com/dsnet/wallchd
- Owner: dsnet
- Created: 2015-08-31T05:33:53.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-09-08T20:08:54.000Z (almost 11 years ago)
- Last Synced: 2025-03-21T05:43:28.109Z (over 1 year ago)
- Language: Python
- Size: 160 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Gnome3 Wallpaper Changer Daemon #
## Introduction ##
A very simple wallpaper changing daemon designed to work with Gnome3. Most of
the wallpaper changing programs that I tried either failed to operate as a
daemon or required a GUI to configure. As such, I decided to write my own simple
wallpaper changer daemon based around the command:
```gsettings set org.gnome.desktop.background picture-uri file://image/path```
This script was developed until the point where "it worked for me". Much error
checking was ignored and a lot of assumptions were made throughout the code.
I have no idea if this daemon will work on a multi-user desktop environment. For
one, I assumed there was only one user (id 1000) and hard-coded that user to be
the owner of the daemon in the init.d script.
Feel free to modify the scripts as you see fit!
## Files ##
* **wallch**: Script to signal daemon to switch wallpapers
* **wallchd**: Init.d script to start the wallchd service
* **wallchd.json**: Configuration settings for wallchd
* **wallchd.py**: The wallpaper changing daemon
## Installation ##
```bash
# Be root to install
su
# Download the archive
curl -L https://github.com/dsnet/wallchd/archive/master.tar.gz | tar -zxv
# Move local copy
SRC_ROOT=/usr/local/wallchd
mv wallchd-master $SRC_ROOT
# Update configuration file
nano $SRC_ROOT/wallchd.json
# Link scripts
ln -s $SRC_ROOT/wallch /usr/local/bin/
ln -s $SRC_ROOT/wallchd /etc/init.d/
# Setup the daemon service
update-rc.d wallchd defaults
service wallchd start
```