From 623fcd1128ff85126879f0fbdd31ef43d06d1ac7 Mon Sep 17 00:00:00 2001 From: Jeff Ohrstrom Date: Thu, 10 Aug 2023 12:47:19 -0400 Subject: [PATCH] export dbus-launch to properly init xfce --- template/script.sh.erb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/script.sh.erb b/template/script.sh.erb index 596d01b..037c476 100755 --- a/template/script.sh.erb +++ b/template/script.sh.erb @@ -15,6 +15,8 @@ cd "${HOME}" export XDG_CONFIG_HOME="<%= session.staged_root.join("config") %>" export XDG_DATA_HOME="<%= session.staged_root.join("share") %>" export XDG_CACHE_HOME="$(mktemp -d)" + export $(dbus-launch) + xfwm4 --compositor=off --daemon --sm-client-disable xsetroot -solid "#D3D3D3" xfsettingsd --sm-client-disable