calo001 / fondo

📷 Wallpaper App for Linux
GNU Affero General Public License v3.0
261 stars 32 forks source link

Failure to set wallpaper on GNOME 40 #141

Open skhoroshavin opened 3 years ago

skhoroshavin commented 3 years ago

As per description. Fondo works just fine on Ubuntu 20.04, 20.10 and Fedora 33, however it fails to set selected picture as a wallpaper on Fedora 34 (which has GNOME 40 RC), complaining about some dbus issue (I'll provide more details including screenshots in a couple of hours). In all cases flapak version was used.

skhoroshavin commented 3 years ago

I could swear it showed exact dbus endpoint at which fondo was not able to connect, however now it shows error dialog box with just

Error while getting peer-to-peer dbus connection: Could not connect: No such file or directory

Also when running from terminal this error message is logged when trying to set a wallpaper:

AccountServiceProvider.vala:56: Could not connect: No such file or directory

Hope that could help.

P.S. Yes, I know - that's not couple of hours. Sorry about that.

BrainBlasted commented 3 years ago

Fondo needs to be updated to use the freedesktop wallpaper portal instead of it's current method to set the wallpaper.

kdwk commented 3 years ago

Can confirm this. Using Fedora 34 beta with Gnome 40 (stable)

stuzenz commented 3 years ago

Great application - thank you!

Just confirmation here on the issue from a different set up.

I can confirm the same issue on archlinux, but I think I noticed the issue a few weeks ago (before gnome40 was installed)

Error while getting peer-to-peer dbus connection: Could not connect: No such file or directory

I also did a flatpak install. I went ahead and uninstalled via flatpak and reinstalled to see if any useful information was provided. No warnings came up - well, one did - but it seems to only be talking about a separate application handbrake.

➜ flatpak install fondo  
Looking for matches…
Remotes found with refs similar to ‘fondo’:

   1) ‘flathub’ (system)
   2) ‘flathub’ (user)

Which do you want to use (0 to abort)? [0-2]: 1
Found ref ‘app/com.github.calo001.fondo/x86_64/stable’ in remote ‘flathub’ (system).
Use this ref? [Y/n]: 
Info: org.gnome.Platform//3.36 is end-of-life, with reason:
   The GNOME 3.36 runtime is no longer supported as of February 13, 2021. Please ask your application developer to migrate to a supported platform.
Applications using this runtime:
   fr.handbrake.ghb

com.github.calo001.fondo permissions:
    ipc     network     wayland    x11    file access [1]    dbus access [2]

    [1] host, xdg-run/dconf, ~/.config/dconf:ro
    [2] ca.desrt.dconf, org.freedesktop.FileManager1, org.gnome.SessionManager, org.gtk.vfs, org.gtk.vfs.*

        ID                                        Branch           Op           Remote            Download
 1. [✓] com.github.calo001.fondo.Locale           stable           i            flathub           15.1 kB / 146.8 kB
 2. [✓] com.github.calo001.fondo                  stable           i            flathub           11.0 MB / 20.3 MB
bilelmoussaoui commented 3 years ago

the issue comes from https://github.com/calo001/fondo/blob/bbdd066014888f5c5de588e2871a59ede0f7a566/src/Configs/AccountServiceProvider.vala#L48 which won't work in a sandboxed mode. I suppose that feature only works on elementary which allows you to set the wallpaper for the login screen

Cyborgscode commented 3 years ago

As (at least) of 19.4.2021 ... setting a background works on Fedora 34 BETA Workstation & Fedora 35 Pinephone

Name : fondo Version : 1.5.2 Release : 1.fc34 Architecture: x86_64 Install Date: Mo 19 Apr 2021 13:24:36 CEST Size : 533517 Source RPM : fondo-1.5.2-1.fc34.src.rpm Build Date : So 14 Mär 2021 14:03:44 CET

PB-Coaching commented 3 years ago

Can confirm this behavior of not being able to set wallpapers on Fedora 34 with Gnome 40

Name : gnome-shell Version : 40.0 Release : 6.fc34 Architecture : x86_64 Size : 9.2 M Source : gnome-shell-40.0-6.fc34.src.rpm

Package fondo is not installed

ArtisticDK commented 3 years ago

Works on Fedora 34, Gnome 40 if installing the RPM package and not flatpack version.

zapateo commented 3 years ago

Works on Fedora 34, Gnome 40 if installing the RPM package and not flatpack version.

Same for me.

Phosphorus-M commented 2 years ago

In Gnome 42 with Ubuntu 22.04 it doesn't work

All3xJ commented 1 year ago

still does not fork in fedora 37, fondo flatpak version

zapateo commented 1 year ago

still does not fork in fedora 37, fondo flatpak version

Unfortunately, it looks like this project is in abandoned state...