[neon/snap-packaging/plasma-desktop-session] scripts: Set _KDE_APPLICATIONS_AS_FORKING from the session main script

Kevin Ottens null at kde.org
Thu Aug 8 23:48:16 BST 2024


Git commit accf22870638f8be2a8b7e1dd34b0276f94cf9c3 by Kevin Ottens.
Committed on 08/08/2024 at 22:10.
Pushed by ervin into branch 'master'.

Set _KDE_APPLICATIONS_AS_FORKING from the session main script

With the reworked confinement this will be necessary also for the
bootstrap process we can't consider it only for the systemd started
services.

M  +1    -0    scripts/run-session.sh

https://invent.kde.org/neon/snap-packaging/plasma-desktop-session/-/commit/accf22870638f8be2a8b7e1dd34b0276f94cf9c3

diff --git a/scripts/run-session.sh b/scripts/run-session.sh
index 8f4f33e..7d51997 100755
--- a/scripts/run-session.sh
+++ b/scripts/run-session.sh
@@ -17,6 +17,7 @@ chmod 700 $XDG_RUNTIME_DIR
 
 export PULSE_SERVER=unix:/run/user/`id -u`/pulse/native
 export XDG_CURRENT_DESKTOP=KDE
+export _KDE_APPLICATIONS_AS_FORKING=1
 
 if ! grep "^snap$" $HOME/.hidden 2>&1 > /dev/null; then
   echo "snap" >> $HOME/.hidden



More information about the Neon-commits mailing list