- 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://www.tenforums.com/tutorials/101274-uninstall-printer-driver-windows-10-a.html Open cmd in administer mode Run printmanagement...
-
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033 For linux: First run the command: route -n It will show the metrics of the i...
-
cf: https://askubuntu.com/questions/1276111/error-upgrading-grub-efi-amd64-signed-special-device-old-ssd-does-not-exist sudo mv /var/cache...
沒有留言:
張貼留言