ifl0w / RandomWallpaperGnome3

Random Wallpapers for Gnome 3
MIT License
178 stars 42 forks source link

Doesn't detect Hydrapaper (flatpak) #205

Open DarkGhostHunter opened 5 months ago

DarkGhostHunter commented 5 months ago

image

Version 3.0.2 (35).

Using latest Bluefin (GNOME 40 46, Fedora 40)

● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
                   Digest: sha256:199270f406be436fcb6847ce9424313bda68b2f6318a2d2c8aef4523a4cb608d
                  Version: 40.20240528.0 (2024-05-28T16:52:43Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx:latest
                   Digest: sha256:31ab90f9c842e1fa190d2130822cc665c3b5e43d34f4ba0ecfc833b524fb7b14
                  Version: 40.20240527.0 (2024-05-28T04:43:21Z)

Hydrapaper 3.3.2 `(org.gnome.Platform/x86_64/45) installed as Flatpak.

Lucki commented 5 months ago

Does exec org.gabmus.hydrapaper in a terminal starts HydraPaper?

DarkGhostHunter commented 5 months ago

Nope, it doesn't, but flatpak run org.gambus.hydrapaper does. By the way, GNOME 46, not 40-

Lucki commented 5 months ago

We're using GLib.find_program_in path() for which the application needs to be available in your $PATH. This should happen automatically though. Does /etc/profile.d/flatpak-bindir.sh exists?

If not, you can add the path manually by creating a file in your environment config directory: $HOME/.config/environment.d/02-Flatpak.conf with the following content:

PATH=$PATH:$XDG_DATA_HOME/flatpak/exports/bin

If your $XDG_DATA_HOME is not set, replace that variable with $HOME/.local/share:

PATH=$PATH:$HOME/.local/share/flatpak/exports/bin

Re-login afterward.

DarkGhostHunter commented 5 months ago

Does /etc/profile.d/flatpak-bindir.sh exists?

nope.

... $HOME/.config/environment.d/02-Flatpak.conf

Nope either, the ../flatpak/exports/bin doesn't exist.

What does exists is /var/lib/flatpak/exports/bin.

Lucki commented 5 months ago

Well then your Flatpaks are installed system-wide, just use that path then.

DarkGhostHunter commented 1 month ago

Omg I left this open. Gonna give it a test and report back.