From 3135643d3f1dc99819ffc45ead612e84ba7586cf Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 20 Jul 2024 05:14:09 +0200 Subject: [PATCH] Preserve environment while running dbus session --- scripts/Common/Software/rclone/main.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Common/Software/rclone/main.fish b/scripts/Common/Software/rclone/main.fish index f87c5fd6..9ffb7ef6 100644 --- a/scripts/Common/Software/rclone/main.fish +++ b/scripts/Common/Software/rclone/main.fish @@ -32,7 +32,7 @@ begin end | sudo -u "$name" tee "$entryPoint" > /dev/null sudo chmod +x "$entryPoint" - sudo -u "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null + sudo -Eu "$name" dbus-launch --exit-with-session startplasma-wayland &> /dev/null rm "$entryPoint" rm ~"$name"/.config/plasma-welcomerc else