mkrundir is a simple program by whynothugo that simply create the
rundir.
This patch is enough for Sxmo to use /run/user-$uid as XDG_RUNTIME_DIR. Even if
this is still less common that /run/user/$uid, it still is preferable, and more
compatible than our /dev/shm/user/$uid (ex: flatpak refuse to bind mount /dev/
paths).
Signed-off-by: Willow Barraco <contact@willowbarraco.fr>
---
configs/profile.d/sxmo_init.sh | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configs/profile.d/sxmo_init.sh b/configs/profile.d/sxmo_init.sh
index 785d235f..83d50ea6 100644
--- a/configs/profile.d/sxmo_init.sh+++ b/configs/profile.d/sxmo_init.sh
@@ -48,6 +48,11 @@ _sxmo_find_runtime_dir() {
fi
done
+ if type mkrundir > /dev/null 2>&1; then+ mkrundir
Besides that, looks good to me.
------------------------------------------------------------------------
Has there been any progress on hare getting 32bit support? It would be
nice if we could have a single fallback for XDG_RUNTIME_DIR if it's not
set, but 32bit support will prevent mkrundir from doing that.