wok-6.x annotate 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 |
rev | line source |
---|---|
pankso@16204 | 1 #!/bin/sh |
pankso@16204 | 2 # |
pankso@16204 | 3 # Start Wayland Weston compositor session on SliTaz GNU/Linux |
pankso@16204 | 4 # |
pankso@16204 | 5 |
pankso@16204 | 6 export XDG_CONFIG_HOME="$HOME/.config" |
pankso@16204 | 7 export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir |
pankso@16204 | 8 |
pankso@16204 | 9 # Start DBUS session. |
pankso@16204 | 10 if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then |
pankso@16204 | 11 dbus-launch --sh-syntax --exit-with-session & |
pankso@16204 | 12 fi |
pankso@16204 | 13 |
pankso@16204 | 14 if [ ! -d "${XDG_RUNTIME_DIR}" ]; then |
pankso@16204 | 15 mkdir ${XDG_RUNTIME_DIR} |
pankso@16204 | 16 chmod 0700 ${XDG_RUNTIME_DIR} |
pankso@16204 | 17 fi |
pankso@16204 | 18 |
pankso@16204 | 19 exec weston-launch |