git: 7dbd17a38d01 - main - x11/plasma5-plasma-workspace: add helper script for Plasma Wayland

Jan Beich jbeich at FreeBSD.org
Sun May 2 14:52:47 UTC 2021


Adriaan de Groot <adridg at FreeBSD.org> writes:

> +if test -z "$XDG_RUNTIME_DIR"; then
> +	export XDG_RUNTIME_DIR=/tmp/`id -u`-runtime-dir
> +	if ! test -d "$XDG_RUNTIME_DIR"; then
> +		mkdir "$XDG_RUNTIME_DIR"
> +		chmod 0700 "$XDG_RUNTIME_DIR"
> +	fi
> +fi

Does this have any effect given Plasma uses ConsoleKit2 which
has its own idea how to set XDG_RUNTIME_DIR ?

$ mkdir -pm 0700 ${XDG_RUNTIME_DIR:=/tmp/test-runtime-dir}
$ ck-launch-session sh -c 'echo $XDG_RUNTIME_DIR'
/var/run/user/1234


More information about the dev-commits-ports-all mailing list