adi1090x / dynamic-wallpaper

A simple bash script to set wallpapers according to current time, using cron job scheduler.
GNU General Public License v3.0
1.88k stars 115 forks source link

DESKTOP_SESSION is deprecated. Use XDG_CURRENT_DESKTOP instead. #97

Closed disjustin closed 1 year ago

disjustin commented 2 years ago

Running CentOS 7. install.sh and dwall -s execute without error but fails to update wallpaper. Use $XDG_CURRENT_DESKTOP in place of $DESKTOP_SESSION as it has been deprecated. This fixed my issue. https://unix.stackexchange.com/a/645761/535653

adi1090x commented 1 year ago

It seems specific to CentOS. in that case, modify the scripts according to your usage.