Correction du script xstartup
This commit is contained in:
parent
95d906477b
commit
aabf9d2c81
1 changed files with 3 additions and 2 deletions
|
@ -1,13 +1,14 @@
|
|||
#!/bin/sh -xe
|
||||
|
||||
self="$(readlink -f "$0")"
|
||||
cd
|
||||
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
|
||||
exec dbus-launch --exit-with-session "$self" "$@"
|
||||
fi
|
||||
|
||||
if [ -z "$SSH_AGENT_PID" ]; then
|
||||
exec ssh-agent "$0" "$@"
|
||||
exec ssh-agent "$self" "$@"
|
||||
fi
|
||||
|
||||
xfwm4 &
|
||||
|
|
Loading…
Reference in a new issue