Fix desktop auto launch
This commit is contained in:
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user