Automatically Change Wallpapers in Linux with Little Simple Wallpaper Changer

Brief: Here is a tiny script that automatically changes wallpaper at regular intervals in your Linux desktop.

As the name suggests, LittleSimpleWallpaperChanger is a small script that changes the wallpapers randomly at intervals.

Now I know that there is a random wallpaper option in the ‘Appearance’ or the ‘Change desktop background’ settings. But that randomly changes the pre-installed wallpapers and not the wallpapers that you add.

So in this article, we’ll be seeing how to set up a random desktop wallpaper setup consisting of your photos using LittleSimpleWallpaperChanger.

[irp posts=”13452″ name=”Download Beautiful Wallpapers For Your Favorite Linux Distribution”]

Little Simple Wallpaper Changer (LSWC)

LittleSimpleWallpaperChanger or LSWC is a very lightweight script that runs in the background, changing the wallpapers from the user-specified folder. The wallpapers change at a random interval between 1 to 5 minutes. The software is rather simple to set up, and once set up, the user can just forget about it.

Little Simple Wallpaper Changer to change wallpapers in Linux

Installing LSWC

Download LSWC by clicking on this link. The zipped file is around 15 KB in size.

  • Browse to the download location.
  • Right click on the downloaded .zip file and select ‘extract here’.
  • Open the extracted folder, right click and select ‘Open in terminal’.
  • Copy paste the command in the terminal and hit enter.
    bash ./README_and_install.sh
  • Now a dialogue box will pop up asking you to select the folder containing the wallpapers. Click on it and then select the folder that you’ve stored your wallpapers in.
  • That’s it. Reboot your computer.

Little Simple Wallpaper Changer for Linux

Using LSWC

On installation, LSWC asks you to select the folder containing your wallpapers. So I suggest you create a folder and move all the wallpapers you want to use there before we install LSWC. Or you can just use the ‘Wallpapers’ folder in the Pictures folder. All the wallpapers need to be .jpg format.

You can add more wallpapers or delete the current wallpapers from your selected folder. To change the wallpapers folder location, you can edit the location of the wallpapers in the
following file.

.config/lswc/homepath.conf

[irp posts=”15127″ name=”Get Parallax Effect Live Wallpaper In Ubuntu Linux With Komorebi”]

To remove LSWC

Open a terminal and run the below command to stop LSWC

pkill lswc

Open home in your file manager and press ctrl+H to show hidden files, then delete the following files:

  • ‘scripts’ folder from .local
  • ‘lswc’ folder from .config
  • ‘lswc.desktop’ file from .config/autostart

There you have it. How to create your own desktop background slideshow. LSWC is really lightweight and simple to use. Install it and then forget it.

LSWC is not very feature rich but that intentional. It does what it intends to do and that is to change wallpapers. If you want a tool that automatically downloads wallpapers try WallpaperDownloader.

Do share your thoughts on this nifty little software in the comments section below. Don’t forget to share this article. Cheers.

Similar Posts

  • See my tweet, (@_LSWC_) an update of LSWC has arrived on github.

    although a few minor adjustments are done, i think it works and or installs better this way.

      • Just to let you know. I posted an update on Github with minor tweaks, maybe you are interested. If you already have it running, just replace the main file ‘lswc’. Be aware to use the right flavor for your version.

  • LSWC 2020 update: open ~.local/scripts/lswc/lswc and alter line 79 in ‘loop_run = random.randint(60,300)’ (without quotes) for a more random time between 1 and 5 minutes.
    –save the file as is and you are done–

    do you want every hour another wallpaper? change the line in ‘loop_run = 3600’ (without the quotes)

    you are free to play with the code to your own needs.

    I wish you lots of enjoyment with LSWC