hyprwm / xdg-desktop-portal-hyprland

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

Support `OpenURI` Interface #146

Closed KorigamiK closed 9 months ago

KorigamiK commented 9 months ago

As used by NewsFlash opening links throws this error:

Failed to open URL: ZBus Error: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop

Since no interface for OpenURI is currently present:

Screenshot_2023-12-16-16-47-27_17095

A lot of hyprland users would appreciate this addition, the default browser should be queried through exo-open or xdg-mime if needed.

vaxerski commented 9 months ago

why not just use -gtk

KorigamiK commented 9 months ago

why not just use -gtk

I'm not sure, wouldn't it conflict with existing hyprland portal?

vaxerski commented 9 months ago

no

KorigamiK commented 9 months ago

no

Understandable

jonvemo commented 1 day ago

Why hasn't this been added to the Hyprland portal? If not for this I'd not run Gtk as well

fufexan commented 1 day ago

What's wrong with the gtk portal? It implements a bunch of stuff already, so we don't have to.