Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dc3211
commit 6de8710
Showing
3 changed files
with
45 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Linux Bing Wallpaper Shell Scripts | ||
|
||
It sets Bing.com wallpaper of the Day as your Linux Desktop | ||
|
||
supports GNOME and KDE4. | ||
|
||
## Usage | ||
|
||
Download these two scripts. | ||
|
||
Put them somewhere | ||
|
||
Change mkt varible in bing_wallpaper.sh to yours. | ||
|
||
Give them execution permission. | ||
|
||
Make them autostart.(Google is your friend) | ||
|
||
So next time you boot your computer for the first time a day, it'll run once. | ||
|
||
Next boots it will run too, but do nothing. | ||
|
||
## Easy commands | ||
|
||
mkdir bin | ||
wget https://raw.github.com/marguerite/linux-bing-wallpaper/master/bing_wallpaper.sh -o bin/bing_wallpaper.sh | ||
# If you use KDE | ||
# wget https://raw.github.com/marguerite/linux-bing-wallpaper/master/kde4_set_wallpaper.sh | ||
chmod +x bin/*.sh | ||
./bin/bing_wallpaper.sh | ||
|
||
## Crontab | ||
|
||
You can also use cron jobs for them. But I didn't success on KDE4. Because it needs to prompt a KDE JS Console, but the user runs cron has no permission to GUI programs. You may try on GNOME. | ||
|
||
crontab -e | ||
1 0 * * * /home/YOUR_USERNAME/PATH/TO/SCRIPTS/bing_wallpaper.sh > /home/YOUR_USERNAME/.cronjob.log | ||
|
||
Remove user crontabs | ||
|
||
sudo rm -rf /var/spool/cron/tabs/YOUR_USERNAME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters