wok-6.x diff weston/stuff/weston-session @ rev 22871
updated gource (0.49 -> 0.51)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 21 17:10:22 2020 +0100 (2020-02-21) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/weston/stuff/weston-session Fri Feb 21 17:10:22 2020 +0100 1.3 @@ -0,0 +1,19 @@ 1.4 +#!/bin/sh 1.5 +# 1.6 +# Start Wayland Weston compositor session on SliTaz GNU/Linux 1.7 +# 1.8 + 1.9 +export XDG_CONFIG_HOME="$HOME/.config" 1.10 +export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir 1.11 + 1.12 +# Start DBUS session. 1.13 +if [ ! "$DBUS_SESSION_BUS_ADDRESS" ]; then 1.14 + dbus-launch --sh-syntax --exit-with-session & 1.15 +fi 1.16 + 1.17 +if [ ! -d "${XDG_RUNTIME_DIR}" ]; then 1.18 + mkdir ${XDG_RUNTIME_DIR} 1.19 + chmod 0700 ${XDG_RUNTIME_DIR} 1.20 +fi 1.21 + 1.22 +exec weston-launch