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

Nothing happens on Gnome #23

Closed adityaarun1 closed 4 years ago

adityaarun1 commented 4 years ago

I have gnome DE running on Arch Linux over wayland. When I run dwall -s firewatch, nothing happens (there is no output on the terminal). Screenshot from 2020-05-08 17-20-26

adi1090x commented 4 years ago

Hmm, I've not tried it on Wayland, i can't say what's wrong here, script seems to work fine, but setter not working i guess...

adityaarun1 commented 4 years ago

Yep, gsettings set org.gnome.desktop.background picture-uri doesn't seem to work for some weird reason.

Sergeygithub commented 4 years ago

What about the permissions for the folder with the images?

adityaarun1 commented 4 years ago

I think the images folder /usr/share/dynamic-wallpaper/images and its contents have proper permissions. The permissions for the jpg files are 644 and the directories are 751.

Sergeygithub commented 4 years ago

I think the images folder /usr/share/dynamic-wallpaper/images and its contents have proper permissions. The permissions for the jpg files are 644 and the directories are 751.

try to set 0755 for the directory

adityaarun1 commented 4 years ago

Done, it doesn't help! :neutral_face:

P.S.: I don't think this is a permission issue. seems like gsettings set does not update my background (or anything else) from anywhere. Don't know why though, using dconf as dconf write /org/gnome/desktop/background/picture-uri "'file:///<file_path>/<file_name>'" works just fine.

adityaarun1 commented 4 years ago

Finally solved it!

I use miniconda python distribution on my system which ships its own gsettings! Simply forcing the script dwall.sh to use the system /usr/bin/gsettings solves the issue.

Thanks for your support.