FS#23706 - cron feh background display
Attached to Project:
Arch Linux
Opened by Tri Le (tri1976) - Monday, 11 April 2011, 17:41 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 12 April 2011, 13:07 GMT
Opened by Tri Le (tri1976) - Monday, 11 April 2011, 17:41 GMT
Last edited by Gaetan Bisson (vesath) - Tuesday, 12 April 2011, 13:07 GMT
|
Details
https://bbs.archlinux.org/viewtopic.php?id=116638
I use feh to set the desktop background and cron to change it every hour. The following command DISPLAY=:0 feh --bg-scale /home/tri/.wallpaper used to work, but recently stop working. The cron log show the following error "feh ERROR: Can't open X display. It *is* running, yeah?" X is running, "echo $DISPLAY" shows ":0", and execute the command in shell works. One of the users in the forum suggested there might be a bug with giblib/feh and cron. feh 1.12 giblib 1.2.4 dcron 4.4 |
This task depends upon
Here, doing `echo '*/1 * * * * DISPLAY=:0 feh --bg-scale ~/wtf.jpg' | crontab -` works and sets wtf.jpg as a wallpaper.
Could you check your cron command as it appears in /var/spool/cron/?
Edit: Also, can you show us the content of /var/log/crond.log?