You are not logged in.

#26 2023-09-08 19:39:19

ranurag
Member
Registered: 2023-07-21
Posts: 59

Re: [SOLVED] dbus unit files are ignored or not found.

Is that mean xorg-desktop-portal-hyprland unit file is meant to be enabled by xorg-desktop-portal?
Because xorg-desktop-portal-hyprland is dependency of xog-desktop-portal.
am i thinking right here?

Last edited by ranurag (2023-09-08 19:41:14)

Offline

#27 2023-09-08 19:41:54

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,665

Re: [SOLVED] dbus unit files are ignored or not found.

==> org.freedesktop.impl.portal.desktop.hyprland.service <==

[D-BUS Service]
Name=org.freedesktop.impl.portal.desktop.hyprland
Exec=/usr/lib/xdg-desktop-portal-hyprland
SystemdService=xdg-desktop-portal-hyprland.service

As soon as anything tries to talk to the dbus interface org.freedesktop.impl.portal.desktop.hyprland it'll trigger
==> xdg-desktop-portal-hyprland.service <==

[Unit]
Description=Portal service (Hyprland implementation)
PartOf=graphical-session.target
After=graphical-session.target
ConditionEnvironment=WAYLAND_DISPLAY

[Service]
Type=dbus
BusName=org.freedesktop.impl.portal.desktop.hyprland
ExecStart=/usr/lib/xdg-desktop-portal-hyprland
Restart=on-failure
Slice=session.slice

I'll argue that this is *still* an xy-problem…
Why do you think you want to start any of this in the first place?

Edit: nothing get's enabled there and xdg-desktop-portal-hyprland is NOT a dependency for xdg-desktop-portal!
xdg-desktop-portal requires *any* xdg-desktop-portal-impl and xdg-desktop-portal-hyprland is a way to fulfill that but you don't have to do anything but installing the packges.
That's it.

Last edited by seth (2023-09-08 19:44:10)

Online

#28 2023-09-08 21:24:46

ranurag
Member
Registered: 2023-07-21
Posts: 59

Re: [SOLVED] dbus unit files are ignored or not found.

I got it. And one more thing.
the arch repo contains both packages. But I have installed xdg-desktop-portal-hyprland from source (latest version with some bugs fix).  So in order to install xdg-desktop-portal package i used pacman. Which tries to install xdg-desktop-portal-hyprland first as it's dependency and failed, because i have already installed (because the repo contain out dated package).
So is that mean i have to installed it to from source.
Is there any option for it with pacman.

Offline

#29 2023-09-08 21:29:14

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,665

Re: [SOLVED] dbus unit files are ignored or not found.

I told you there's an XY-Problem tongue

You can use --assume-installed but the correct way would be to build the package w/ the desired updates, https://wiki.archlinux.org/title/Arch_build_system
Or just use https://aur.archlinux.org/packages/xdg- … prland-git

Online

#30 2023-09-08 21:34:46

ranurag
Member
Registered: 2023-07-21
Posts: 59

Re: [SOLVED] dbus unit files are ignored or not found.

Thank you very much Seth.
You should be promoted to some senior designation due to your continuous support and activeness in the forum. smile

Offline

Board footer

Powered by FluxBB