From a7198339f6770f785285660df587549a24a23392 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Sun, 3 Nov 2024 17:15:07 +0100 Subject: [PATCH] phosh.service: Manually issue chvt on start libseat 0.9.0 no longer performs an automatic VT switch when taking control of a seat to allow sessions to be started in the background. As consequence, one must manually switch if one wants a background session to be immediately activated. Issue a chvt on ExecStartPost, when the service is deemed running. Part-of: --- data/phosh.service | 1 + 1 file changed, 1 insertion(+) diff --git a/data/phosh.service b/data/phosh.service index 2cace8872..a2494f0a4 100644 --- a/data/phosh.service +++ b/data/phosh.service @@ -35,6 +35,7 @@ Environment=XDG_CURRENT_DESKTOP=Phosh:GNOME Environment=XDG_SESSION_DESKTOP=phosh Environment=XDG_SESSION_TYPE=wayland ExecStart=capsh --noamb -- -c "exec /usr/bin/phosh-session" +ExecStartPost=+chvt 7 TimeoutStartSec=30 User=1000 PAMName=login -- GitLab