Change your Desktop Wallpaper
Hello Friends,
To know how to change your Desktop wallpaper automatically in Windows and Linux follow my below steps.
1) Change Desktop wallpaper in Windows
For Windows I am using the below GitHub Project.
GitHub Project:- 👉 https://github.com/Rawns/Reddit-Wallpaper-Changer
From the releases tab on GitHub download the latest versions of Reddit-Wallpaper Changer and Install it.
Here are the settings I recommend to you..👇
You can also save all the wallpapers locally into your machine. I like to save all the downloaded wallpapers for the future reference or build an offline repository.
Do this to save all the downloaded wallpapers.👇
2) Change Desktop wallpaper in Linux
For Linux I am using the below GitHub Project.
GitHub Project:- 👉 https://github.com/markubiak/wallpaper-reddit
Install Dependancies
Ubuntu/Linux Mint/ElementaryOS: sudo apt-get install python3-dev python3-setuptools libjpeg8-dev zlib1g-dev libfreetype6-dev
Fedora: sudo dnf install python3-imaging
Arch: sudo pacman -S python-pillow
Clone the repository and navigate into the directory with the setup.py file.
git clone https://github.com/markubiak/wallpaper-reddit
cd wallpaper-reddit
Run sudo python3 setup.py install
Usage
You can run this anytime by typing in terminal wallpaper-reddit [subreddits]
Binaries are located at /usr/local/bin/wallpaper-reddit
Config files are located at ~/.config/wallpaper-reddit
Syntax Help wallpaper-reddit --help
Startup Config
There is a too many ways to have this automatically change your desktop wallpaper on startup, however I like to add this at the /etc/profile end of file.
Code:
/usr/local/bin/wallpaper-reddit --save
/usr/local/bin/wallpaper-reddit --startup
--save option flag will save the current wallpaper to the default directory in the config file (~/Pictures/Wallpapers/). Remove this line if you don't want to save past wallpapers.
--startup option flag will wait till internet access is established and then download the wallpaper from the reddit.
Wallpaper-reddit config file settings
The config file is in ~/.config/wallpaper-reddit, and will be created automatically. Currently ,the GNOME, XFCE, MATE, Unity, and Cinnamon Desktops Environment should be automatically detected and the program should set the wallpaper without any extra work. However due to varying nature of window managers, it is possible, even likely that you may have to specify a custom command to set your wallpaper. The program will prompt you for this if this is the case; the exact command can be researched per desktop environment. If your desktop environment is not supported, leave the set command blank and it will auto download to the ~/Pictures/Wallpapers/ directory as wallpaper.jpg for the daily wallpaper.
Config Options
minwidth and minheight set the minimum dimensions the program will consider a valid candidate for a wallpaper. If --resize is enabled, the script will resize the image to those dimensions before setting the wallpaper.
minratio is the minimal aspect ratio of the image. It is a float value of width/height of the image, for example 1.6 for 16:9 image.
maxlinks is the maximum number of links the script will go through before giving up.
resize does the same thing as the --resize flag. It is enabled by default.
random does the same thing as the --random flag.
0 Comments