summaryrefslogtreecommitdiff
path: root/run-wayland-compositor
diff options
context:
space:
mode:
authorMartin Stransky <stransky@redhat.com>2021-04-27 14:35:17 +0200
committerMartin Stransky <stransky@redhat.com>2021-04-27 14:35:17 +0200
commitfcf7279272de591c561bcced0694d1661f31e668 (patch)
tree79dc78364883bbe8c24f4d9bad108df7f0a7edde /run-wayland-compositor
parentrelease up (diff)
downloadlibrewolf-fedora-ff-fcf7279272de591c561bcced0694d1661f31e668.tar.gz
librewolf-fedora-ff-fcf7279272de591c561bcced0694d1661f31e668.tar.bz2
librewolf-fedora-ff-fcf7279272de591c561bcced0694d1661f31e668.zip
Build fixes, test update
Diffstat (limited to 'run-wayland-compositor')
-rwxr-xr-xrun-wayland-compositor5
1 files changed, 4 insertions, 1 deletions
diff --git a/run-wayland-compositor b/run-wayland-compositor
index db3035d..0480ed2 100755
--- a/run-wayland-compositor
+++ b/run-wayland-compositor
@@ -26,7 +26,8 @@ if [ -z "$XDG_RUNTIME_DIR" ]; then
export XDG_RUNTIME_DIR=$HOME
fi
-xvfb-run -s "-screen 0 1600x1200x24" -n 80 mutter --wayland --nested &
+. xvfb-run -s "-screen 0 1600x1200x24" -n 80 mutter --display=:80 --wayland --nested &
+export DISPLAY=:80
if [ -z "$WAYLAND_DISPLAY" ] ; then
export WAYLAND_DISPLAY=wayland-0
@@ -45,3 +46,5 @@ until [ $retry_count -gt $max_retries ]; do
sleep 2
fi
done
+
+env | grep "DISPLAY"
bgstack15