wok-6.x view weston/stuff/weston-session @ rev 19700
Mv grub/stuff/splash.xpm.gz to slitaz-configs to have a splash image on HD install
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Feb 14 11:23:11 2017 +0100 (2017-02-14) |
parents | |
children |
line source
1 #!/bin/sh
2 #
3 # Start Wayland Weston compositor session on SliTaz GNU/Linux
4 #
6 export XDG_CONFIG_HOME="$HOME/.config"
7 export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir
9 # Start DBUS session.
10 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then
11 dbus-launch --sh-syntax --exit-with-session &
12 fi
14 if [ ! -d "${XDG_RUNTIME_DIR}" ]; then
15 mkdir ${XDG_RUNTIME_DIR}
16 chmod 0700 ${XDG_RUNTIME_DIR}
17 fi
19 exec weston-launch