> ## Content Index
> Fetch the complete content index at: https://itsfoss.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# Automatically Change Wallpapers in Linux with Little Simple Wallpaper Changer
- URL: https://itsfoss.com/little-simple-wallpaper-changer/
- Published: 2018-06-22T07:34:18.000Z
- Updated: 2024-09-23T11:26:26.000Z
- Description: Here is a tiny script that automatically changes the wallpaper at regular intervals on your Linux desktop.
- Author: Abhishek Prakash
- Tags: Applications

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.

## Little Simple Wallpaper Changer (LSWC)

[LittleSimpleWallpaperChanger](https://github.com/LittleSimpleWallpaperChanger/lswc?ref=itsfoss.com) 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 and 5 minutes. The software is rather simple to set up, and once set up, the user can just forget about it.

📋

The project provides different archive files for various operating systems like Ubuntu, Linux Mint, etc. I used the ****GNOME 3 or 4** archive file on Fedora 40, which worked as intended.  
  
Similarly, if you are switching between dark mode and light-mode frequently, you may need to use the ****dark and light theme** file.

### Installing LSWC

Required zip archive files are directly added to the GitHub repo of this project. You can download the file as per your distribution or desktop environment version. The zipped file is around 15 KB in size.

![Download the zip file of LSWC from GitHub page.](https://itsfoss.com/content/images/2024/09/download-the-raw-zip-file-of-lswc.png)

Download Zip Archive

📋

The project provides different archive files for various operating systems like Ubuntu, Linux Mint, etc. I used the ****GNOME 3 or 4** archive file on Fedora 40, which worked as intended.

[Download LSWC](https://github.com/LittleSimpleWallpaperChanger/lswc/?ref=itsfoss.com)

Now, browse to the download location and right-click on the downloaded .zip file and select **Extract**.

![Right-click on the downloaded zip archive file of LSWC and select "Extract" from the context menu.](https://itsfoss.com/content/images/2024/09/right-click-on-the-archive-file-and-select-extract.png)

Extract Zip Archive

Open the extracted folder, right click and select **Open in terminal**.

![Inside the extracted folder, right-click on an empty space and select "Open in Terminal" option from the context menu.](https://itsfoss.com/content/images/2024/09/open-a-terminal-inside-the-downloaded-lswc-folder.png)

Open a Terminal

You can now run the `README_and-install.sh` file. Use the `bash` command to execute the shell script without giving explicit execution permission to the installation script.

```shell
bash ./README_and_install.sh

```

**Suggested Read 📖**

[How to Run a Shell Script in Linux \[Essentials Explained\]Here are all the essential details you should know about executing a shell script in the Linux command line.![](https://itsfoss.com/content/images/icon/android-chrome-192x192.png)It's FOSSAbhishek Prakash![](https://itsfoss.com/content/images/thumbnail/linux-terminal.png)](https://itsfoss.com/run-shell-script-linux/)

Now a tiny dialogue box will pop up asking you to select the folder containing the wallpapers. Click on the “**Choose Wallpaper Folder**” button and then select the folder that you’ve stored your wallpapers in.

![Run the installer and click on the "Choose Wallpaper Folder" button.](https://itsfoss.com/content/images/2024/09/run-the-installer-and-select-the-folder-location-1.png)

Run the Installer

That’s it. Reboot your computer.

### 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

```

### To remove LSWC

Open a terminal and [run the pkill command](https://linuxhandbook.com/pkill-command/?ref=itsfoss.com) to stop LSWC:

```shell
pkill lswc

```

Then open home in your file manager and press CTRL+H to show hidden files, then delete the following files:

- The `scripts` directory from `.local` directory.
- The `lswc` directory from `.config` directory.
- The `lswc.desktop` file from `.config/autostart` directory.

You can do this in terminal using the commands:

```
rm -rf ~/.config/lswc ~/.local/scripts
rm .config/autostart/lswc.desktop

```

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](https://itsfoss.com/wallpaperdownloader-linux/).

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