- sudo apt install mcron
- Create a script, say /home/chiao/scripts/dynwall:
#!/bin/bash
sleep 3
IMG=`find /home/chiao/圖片/wallpaper/dawn/*.jpg | shuf -n 1`
gsettings set org.gnome.desktop.background picture-options 'stretched'
/usr/bin/gsettings set org.gnome.desktop.background picture-uri file:///${IMG} - Create /home/chiao/.config/cron/job.vixie
5 * * * * /home/chiao/scripts/dynwall - Create /home/chiao/.config/autostart/mcron.desktop
[Desktop Entry]
Type=Application
Exec=/usr/bin/mcron -d
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name[zh_TW]=mcron
Name=mcron
Comment[zh_TW]=
Comment= - Reboot
2022年6月17日 星期五
dynamic wallpaper background
訂閱:
張貼留言 (Atom)
-
cf: https://ubuntuhandbook.org/index.php/2022/01/default-torrent-app-magnet-links-ubuntu/ Set “QBittorrent” as default app for magnet link,...
-
Download 7z-exe: https://www.7-zip.org/ Get into cmd window cd Z:\Classes\109year\Semester2\Calculus\B\HW\HW7 md files "C:\Program Fi...
-
Setting up Google Drive with rclone config involves creating a "remote" connection through an interactive terminal wizard. S...
沒有留言:
張貼留言