Xdg-open not work
Running xdp-open https://nixos.org/ show error Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop
trial set xdg.portal.xdgOpenUsePortal = false; in https://github.com/fufexan/dotfiles/blob/main/system/programs/xdg.nix#L4
and if u want screen sharing, exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP in hyprland settings
and if u want screen sharing,
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOPin hyprland settings
Not needed if you use UWSM.
Running xdp-open https://nixos.org/ show error
Error: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.OpenURI” on object at path /org/freedesktop/portal/desktop
Is the xdg-desktop-portal user service running?
and if u want screen sharing,
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOPin hyprland settingsNot needed if you use UWSM.
it not work for me
when not have dbus-update services xdg-desktop-portal-hyprland not run
➜ systemctl --user status xdg-desktop-portal-hyprland
○ xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
Loaded: loaded (/etc/systemd/user/xdg-desktop-portal-hyprland.service; linked-runtime; preset: ignored)
Active: inactive (dead)
I know this is a very late reply, but I don't do anything suddenly now works normally
and if u want screen sharing,
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOPin hyprland settingsNot needed if you use UWSM.
it not work for me when not have
dbus-updateservicesxdg-desktop-portal-hyprlandnot run➜ systemctl --user status xdg-desktop-portal-hyprland ○ xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation) Loaded: loaded (/etc/systemd/user/xdg-desktop-portal-hyprland.service; linked-runtime; preset: ignored) Active: inactive (dead)
@fufexan can u check your services xdg-desktop-portal-hyprland running without dbus-update ?
It does work, that's why I suggested using UWSM, since it does away with the requirement for dbus-update-....
It does work, that's why I suggested using UWSM, since it does away with the requirement for
dbus-update-....
yes im using it but still not work, can u check my config ? https://github.com/hmanhng/.flakes
You still have dbus-update-... in your config https://github.com/hmanhng/.flakes/blob/master/system/programs/hyprland/settings.nix#L24. What happens if you remove it?
You still have
dbus-update-...in your config https://github.com/hmanhng/.flakes/blob/master/system/programs/hyprland/settings.nix#L24. What happens if you remove it?
xdg-desktop-portal-hyprland service not inactive without dbus-update
➜ systemctl --user status xdg-desktop-portal-hyprland
○ xdg-desktop-portal-hyprland.service - Portal service (Hyprland implementation)
Loaded: loaded (/etc/systemd/user/xdg-desktop-portal-hyprland.service; linked-runtime; preset: ignored)
Active: inactive (dead)