Skip to content

Commit

Permalink
qubes-run-xephyr: debian has another path for shmoverride.so
Browse files Browse the repository at this point in the history
  • Loading branch information
fepitre committed Jun 16, 2020
1 parent 35277dd commit e108271
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion appvm-scripts/usrbin/qubes-run-xephyr
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,10 @@
DISPLAY_XEPHYR="$1"
OPTIONS_XEPHYR="-no-host-grab -fullscreen"

LD_PRELOAD=/usr/lib64/qubes-gui-daemon/shmoverride.so /usr/bin/Xephyr $OPTIONS_XEPHYR "$DISPLAY_XEPHYR" > ~/.xephyr-errors 2>&1
if [ -e /etc/debian_version ]; then
SHMOVERRIDE=/usr/lib/x86_64-linux-gnu/qubes-gui-daemon/shmoverride.so
else
SHMOVERRIDE=/usr/lib64/qubes-gui-daemon/shmoverride.so
fi

LD_PRELOAD=$SHMOVERRIDE /usr/bin/Xephyr $OPTIONS_XEPHYR "$DISPLAY_XEPHYR" > ~/.xephyr-errors 2>&1

0 comments on commit e108271

Please sign in to comment.