From c409e33cc255a7b92d0c2fc53a55283fb24bb48f Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Fri, 13 Mar 2026 11:48:51 +0100 Subject: [PATCH] Update firstboot-setup.service for graphical session --- files/usr/lib/systemd/user/firstboot-setup.service | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/files/usr/lib/systemd/user/firstboot-setup.service b/files/usr/lib/systemd/user/firstboot-setup.service index 49c359b..89e0fcc 100644 --- a/files/usr/lib/systemd/user/firstboot-setup.service +++ b/files/usr/lib/systemd/user/firstboot-setup.service @@ -1,11 +1,14 @@ [Unit] Description=Run First Boot Setup Wizard -ConditionPathExists=%h/.config/firstboot/run +After=graphical-session.target +Wants=graphical-session.target [Service] -ExecStart=%h/.config/firstboot/firstboot-setup.sh - -Type=oneshot +Type=simple +ExecStart=%h/.config/firstboot-setup.sh +Environment=WAYLAND_DISPLAY=wayland-0 +Environment=DISPLAY=:0 +Environment=DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/%U/bus [Install] WantedBy=default.target