hyprwm / xdg-desktop-portal-hyprland

xdg-desktop-portal backend for Hyprland
BSD 3-Clause "New" or "Revised" License
273 stars 47 forks source link

xdg-open does not work inside flatpak #195

Closed jh-devv closed 7 months ago

jh-devv commented 7 months ago

This results in e.g. flatpak not opening links.

With both xdph and the xdpg installed, it will prompt the "No available application found" screen....

When only xdph is installed, nothing happens??

jh-devv commented 7 months ago

Is this an xdg-desktop-portal flatpak issue then?

Cause the gtk one works just fine...

jh-devv commented 7 months ago

I don't know if it handles gtk ones differently

vaxerski commented 7 months ago

xdph doesn't handle xdg-open

jh-devv commented 7 months ago

xdph doesn't handle xdg-open

What does?

jh-devv commented 7 months ago

Actually, the exact error is:

GDBus.Error.org.freedesktop.DBus.Error.
UnknownMethod: No such
interface "org.freedesktop.portal.OpenURI" on object at path /org/
freedesktop/portal/desktop

What does provide OpenURI? Is it like.... only the gtk one?

And if I use the both the gtk one, and the xdg one.... some stuff just breaks?

jh-devv commented 7 months ago

This also seems to happen on some gnome applications?

jh-devv commented 7 months ago

oh yea https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/146 I did not see this

jh-devv commented 7 months ago

If anyone else has this issue:

systemctl --user import-environment PATH

in the hyprland startup file fixed this!