dusansimic / dynamic-wallpaper

Dynamic wallpaper maker for Gnome 42
GNU General Public License v2.0
151 stars 30 forks source link

Flatpak does not seem to work #5

Closed pesader closed 2 years ago

pesader commented 2 years ago

Hi! I was excited to try out Dynamic Wallpaper on my machine, now that the flatpak is available on Flathub, however I did not seem to work. I was able to select pictures for the light and dark wallpaper variants, and got a toast saying the wallpaper was created but it was nowhere to be found on GNOME Settings' Appearance tab.

Also, when I tried creating another wallpaper with the same name, I got a warning saying that was not possible (so it must be running up until the point it "registers" the new wallpaper).

Lastly, thanks for developing this great application (it was exactly what I was looking for)! ☀️ 🌑

Ardelean-Calin commented 2 years ago

I think I found the issue. On my machine, the folder gnome-background-properties found in $HOME/.local/share did not exist. The flatpak application tries to create the directory but for some reason it fails. I'm guessing it doesn't have the right permissions to create directories. Weird enough, it does have the right permissions to copy the images in the backgrounds directory.

Edit: I can confirm, adding the create permission to the flatpak app will solve this issue. image

Edit 2: Created a Pull Request to fix this issue. @pesader for now you can just manually create the $HOME/.local/share/gnome-background-properties directory and then try again.