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
|
#!/bin/sh -xe
|
||||||
|
|
||||||
|
self="$(readlink -f "$0")"
|
||||||
cd
|
cd
|
||||||
|
|
||||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||||
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
|
exec dbus-launch --exit-with-session "$self" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "$SSH_AGENT_PID" ]; then
|
if [ -z "$SSH_AGENT_PID" ]; then
|
||||||
exec ssh-agent "$0" "$@"
|
exec ssh-agent "$self" "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
xfwm4 &
|
xfwm4 &
|
||||||
|
|
Loading…
Reference in a new issue