Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

throws an error "you have incompatible xdg portals implementations installed" when building on ubuntu 23.04 #2195

Closed
Vertecedoc4545 opened this issue Apr 30, 2023 · 10 comments
Labels
bug Something isn't working

Comments

@Vertecedoc4545
Copy link

after building on ubuntu 23.04 and running, it gives the error you have incompatible xdg portals implementations installed in the screen,

the install instructions i followed are the same im pull requesting (https://github.com/Vertecedoc4545/hyprland-wiki-ubuntu/blob/main/pages/Getting%20Started/Ubuntu.md) , im unaware about its reproducibility as i didnt notice this error days ago with the same build instructions

@bvr-yr
Copy link
Contributor

bvr-yr commented Apr 30, 2023

its cause of xdg-desktop-portal-gnome

btw even masking it through systemctl throws error anyway
maybe it's a point to turn off notification if wrong impls are installed but not started?

@tchofy
Copy link

tchofy commented Apr 30, 2023

Hyprland just checks if they're installed, not specifically if they're running, although I agree that the message makes more sense if other portals are running alongside either xdgdp-wlr or xdgdp-hyprland, but apparently just having it installed is enough for issues to happen.

Just throw suppress_portal_warnings = true inside the misc{} part of your config, if you have issues try uninstalling the gnome portal.

@vaxerski
Copy link
Member

it's not an error per se, it's a warning. Expected behavior

@Vertecedoc4545
Copy link
Author

perfect

@Vertecedoc4545
Copy link
Author

a good idea would be to change the ui color to orange and instead of the word remove lets put add "this" to the config if no more errors ocur, or lets change the behavior to look for running portals.
that may improve accesibility

@DreamMaoMao
Copy link

Hyprland just checks if they're installed, not specifically if they're running, although I agree that the message makes more sense if other portals are running alongside either xdgdp-wlr or xdgdp-hyprland, but apparently just having it installed is enough for issues to happen.

Just throw suppress_portal_warnings = true inside the misc{} part of your config, if you have issues try uninstalling the gnome portal.

hi! I added "suppress_portal_warnings = true" in the misc block, but it threw an exception:
"<suppress_portal_warnings> :no such field"

@tchofy
Copy link

tchofy commented Jun 16, 2023

Hyprland just checks if they're installed, not specifically if they're running, although I agree that the message makes more sense if other portals are running alongside either xdgdp-wlr or xdgdp-hyprland, but apparently just having it installed is enough for issues to happen.
Just throw suppress_portal_warnings = true inside the misc{} part of your config, if you have issues try uninstalling the gnome portal.

hi! I added "suppress_portal_warnings = true" in the misc block, but it threw an exception: "<suppress_portal_warnings> :no such field"

Is your hyprland build up to date? That option was introduced in a8b3be2, if you try it on an older version it'll give you that error.

@DreamMaoMao
Copy link

Hyprland just checks if they're installed, not specifically if they're running, although I agree that the message makes more sense if other portals are running alongside either xdgdp-wlr or xdgdp-hyprland, but apparently just having it installed is enough for issues to happen.
Just throw suppress_portal_warnings = true inside the misc{} part of your config, if you have issues try uninstalling the gnome portal.

hi! I added "suppress_portal_warnings = true" in the misc block, but it threw an exception: "<suppress_portal_warnings> :no such field"

Is your hyprland build up to date? That option was introduced in a8b3be2, if you try it on an older version it'll give you that error.

I use the source version is v0.24.0, I will try to use the latest source,thanks !

@DreamMaoMao
Copy link

tchofy

image
image
v24.0 i s support suppress_portal_warnings,but i still can not use it.

@DreamMaoMao
Copy link

Hyprland just checks if they're installed, not specifically if they're running, although I agree that the message makes more sense if other portals are running alongside either xdgdp-wlr or xdgdp-hyprland, but apparently just having it installed is enough for issues to happen.
Just throw suppress_portal_warnings = true inside the misc{} part of your config, if you have issues try uninstalling the gnome portal.

hi! I added "suppress_portal_warnings = true" in the misc block, but it threw an exception: "<suppress_portal_warnings> :no such field"

Is your hyprland build up to date? That option was introduced in a8b3be2, if you try it on an older version it'll give you that error.

I change the value in source and rebuild it,it work now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants