In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail how to use scripts to randomly change wallpapers under Linux. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.
Download and install, run
Open a terminal and clone the GitHub repository. If it is not installed, you need to install feh and git.
Git clone https://github.com/thevinter/styli.shcd styli.sh
To set up random wallpaper, run the following according to your desktop environment.
Change your Linux Desktop Wallpaper Every Hour using styli.sh
GNOME:
. / styli.sh-g
Xfce:
. / styli.sh-x
KDE Plasma:
. / styli.sh-k
Sway:
. / styli.sh-y changes every hour
To change the background every hour, run the following command:
Crontab-e
And add the following to the open file. Don't forget to change the script path.
@ hourly script/path/styli.sh change the section
In the source directory, there is a file named subreddits. It fills up some standard sections. If you want more, just add the section name at the end of the file.
More configuration options
The type and size of wallpaper can also be set. Here are some unique configuration options for this script.
Set a random 1920 × 1080 background:
. / styli.sh
Specify a desired width or height:
. / styli.sh-w 1080-h 720./styli.sh-w 2560./styli.sh-h 1440
Set up wallpaper based on search terms:
. / styli.sh-s island./styli.sh-s "sea sunset". / styli.sh-s sea-w 1080
Get a random wallpaper from a set section:
Note: width / height / search parameters have no effect on reddit.
. / styli.sh-l reddit
Get random wallpaper from a custom section:
. / styli.sh-r./styli.sh-r wallpaperdump
Use the built-in feh-bg option:
. / styli.sh-b./styli.sh-b bg-scale-r widescreen-wallpaper
Add a custom feh flag:
. / styli.sh-c./styli.sh-c-no-xinerama-r widescreen-wallpaper
Automatically set the color of the terminal:
. / styli.sh-p
Use nitrogen instead of feh:
. / styli.sh-n
Use nitrogen to update multiple screens:
. / styli.sh-n-m
Select a random background from a directory:
. / styli.sh-d / path/to/dir this is the end of the article on "how to use scripts to randomly change wallpaper under Linux". I hope the above content can be helpful to you, so that you can learn more knowledge. if you think the article is good, please share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.