reujab / wallpaper.rs

A cross-platform Rust library for getting and setting desktop wallpapers
The Unlicense
96 stars 24 forks source link

Setting wall paper failed in ubuntu #21

Open ssrlive opened 1 year ago

ssrlive commented 1 year ago

When I add a command to cron attempt to change wallpaper automatically, but it failed. My OS is Ubuntu Linux. Please fixed this issue.

LuckyTurtleDev commented 1 year ago

Probably caused, because some environments variables are not present by using cron. You should check if this crate works outside cron at an terminal emulator running at your desktop enviroment.