Skip to content

Commit e96da2b

Browse files
committed
wrap dbus
1 parent 501a945 commit e96da2b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

root/defaults/startwm.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,11 @@ if [ ! -d "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml ]; then
66
cp /defaults/xfce/* "${HOME}"/.config/xfce4/xfconf/xfce-perchannel-xml/
77
fi
88

9+
10+
# Dbus defaults
11+
export XDG_RUNTIME_DIR="/tmp/xdg-runtime-${PUID}"
12+
mkdir -p -m700 "${XDG_RUNTIME_DIR}"
13+
chown -R "${PUID}:${PGID}" "${XDG_RUNTIME_DIR}"
14+
915
# Start DE
10-
dbus-launch /usr/bin/xfce4-session > /dev/null 2>&1
16+
exec dbus-launch --exit-with-session /usr/bin/xfce4-session > /dev/null 2>&1

0 commit comments

Comments
 (0)