我正在尝试使用 Indrajith Indraprastham 建议的脚本将我的墙纸更改为随机图像: How to change desktop background from command line in Unity?
当我从终端窗口运行脚本时,bg 改变得很好,但是当它从 cron 运行时,我收到了这个错误:
(进程:21901):dconf-警告**:未能提交对 dconf 的更改:错误生成命令行“dbus-launch --autolaunch=00216c114dcf433c9bb9009985d607d6 --binary-syntax --close-stderr”:子进程退出,代码为 1
我将不胜感激任何建议。