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.9k stars 114 forks source link

Wallpaper not changing: Output of "echo $DESKTOP_SESSION" is "zorin" #84

Closed Michael-Obele closed 2 years ago

Michael-Obele commented 2 years ago

image

Michael-Obele commented 2 years ago

PS: Am using Zorin OS 16

histefanhere commented 2 years ago

I'm also using zorin, and it turns out it's a super easy fix to get it working!

Basically zorin has it's own desktop session, however it's still based on ubuntu gnome which this should support. I followed ChocolateDave's steps in @96 here by changing the folowing line in /usr/bin/dwall:

elif [[ "$DESKTOP_SESSION" =~ ^(PANTHEON|zorin|Pantheon|pantheon|GNOME|Gnome|gnome|Gnome-xorg|gnome-xorg|UBUNTU|Ubuntu|ubuntu|DEEPIN|Deepin|deepin|POP|Pop|pop)$ ]]; then
    SETTER="gsettings set org.gnome.desktop.background picture-uri"

simply add zorin| anywhere into the pattern as I have which tells dwall how to handle changing the wallpaper in zorin, and after this it should work! Enjoy :)

EDIT: #80 already exists and would resolve this issue :/

Michael-Obele commented 2 years ago

Thank you very much. This is excellent. As far as I can see, this also applies to other 'wallpaper shell apps'. Once again, thank you.