0

How can we get an automatic desktop background image changing, over an specific time, into Lubuntu 15.10?

I am interested in something like the typical slide presentation, with a, let's say, 5 seconds between each slide.

Juan
  • 1,797

1 Answers1

0

you can change the wallpaper with:

pcmanfm -w /home/user/path/to/picture.jpg

Here they made an script for gnome: https://askubuntu.com/a/510135/287964

You can adapt it as:

#!/bin/bash

DIR="/home/indra/Pictures/wallpapers"
PIC=$(ls $DIR/* | shuf -n1)
pcmanfm -w $PIC

... and then set the cron job, or run a infinite 'while' loop with a 'sleep'.

Julen Larrucea
  • 1,042
  • 11
  • 25