From 466ebccdc522515e036b58b444455c8a622c13c5 Mon Sep 17 00:00:00 2001 From: Marius Meisenzahl Date: Wed, 24 May 2023 21:08:19 +0200 Subject: [PATCH 1/2] systemd: Start after gala --- data/xdg-desktop-portal-pantheon.service.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/data/xdg-desktop-portal-pantheon.service.in b/data/xdg-desktop-portal-pantheon.service.in index 533e3486..bfdad6f1 100644 --- a/data/xdg-desktop-portal-pantheon.service.in +++ b/data/xdg-desktop-portal-pantheon.service.in @@ -1,6 +1,9 @@ [Unit] Description=Portal service (Pantheon implementation) +Requires=gala-x11.service +After=gala-x11.service + [Service] Type=dbus BusName=org.freedesktop.impl.portal.desktop.pantheon From 002dac4ea8bffb401f62e00809b23d07c8734b69 Mon Sep 17 00:00:00 2001 From: Marius Meisenzahl Date: Wed, 24 May 2023 21:25:14 +0200 Subject: [PATCH 2/2] Refactor --- data/xdg-desktop-portal-pantheon.service.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/data/xdg-desktop-portal-pantheon.service.in b/data/xdg-desktop-portal-pantheon.service.in index bfdad6f1..52e3300a 100644 --- a/data/xdg-desktop-portal-pantheon.service.in +++ b/data/xdg-desktop-portal-pantheon.service.in @@ -1,8 +1,8 @@ [Unit] Description=Portal service (Pantheon implementation) - -Requires=gala-x11.service -After=gala-x11.service +After=graphical-session.target +Requisite=graphical-session.target +PartOf=graphical-session.target [Service] Type=dbus