Skip to content

Commit 0a8be3b

Browse files
committed
Merge branch 'sys-gui-monitor-layout'
* sys-gui-monitor-layout: sys-gui: connect Xephyr to DUMMY0 output Fix (partially) setting resolution on sys-gui
2 parents f8d51e8 + caf05d1 commit 0a8be3b

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

appvm-scripts/usrbin/qubes-run-xephyr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
DISPLAY_XEPHYR="$1"
3-
OPTIONS_XEPHYR="-no-host-grab -fullscreen"
3+
OPTIONS_XEPHYR="-no-host-grab -output DUMMY0"
44

55
if [ -e /usr/lib/x86_64-linux-gnu/qubes-gui-daemon/shmoverride.so ]; then
66
SHMOVERRIDE=/usr/lib/x86_64-linux-gnu/qubes-gui-daemon/shmoverride.so

appvm-scripts/usrbin/qubes-set-monitor-layout

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44
# on having DISPLAY set from there
55
export DISPLAY=:0
66

7+
if [ -e /run/qubes-service/guivm-gui-agent ]; then
8+
# on sys-gui, adjust monitor layout of the parent Xorg
9+
export DISPLAY=:1
10+
fi
11+
712
# Wait for Xorg complete startup
813
while ! xrandr -q &>/dev/null; do sleep 0.1; done
914

0 commit comments

Comments
 (0)