Fix desktop auto launch

This commit is contained in:
Connor Nelson
2025-03-20 10:52:06 -07:00
parent a4227a7758
commit 80c42066a0
+4 -1
View File
@@ -10,7 +10,10 @@ xfce_env() {
} }
xfce_run() { xfce_run() {
setsid su "$USER" -c "env - $(xfce_env) $*" id
which su
echo "$USER"
setsid runuser "$USER" -c "env - $(xfce_env) $*"
} }
# Launch a background process that waits for xfce4-session and then runs the command. # Launch a background process that waits for xfce4-session and then runs the command.