Choses random pictures out of a folder and sets a different picture for every display every n-minutes. Uses cv2 to generate the pictures and gsettings to set the background. Tested on Ubuntu 21.04.
- Download the latest release from here.
- Extract the files
- Make fakexrandr_background executable:
chmod +x fakexrandr_background
- Run (1800 for an image change every 30 minutes [60 * 30])
/path/to/fakexrandr_background /path/to/pictures 1800
- Add the run command to autostart:
Add the following line to
/home/user/.profile
/path/to/fakexrandr_background /path/to/pictures 1800 --delay 6 --brightness 0.5 &
- Setup virtualenv with Python 3.9
poetry install
python fakexrandr_background/main.py
- Build:
pyinstaller fakexrandr_background.spec && chmod +x dist/fakexrandr_background/fakexrandr_background