chiark / gitweb /
bin/xpra-start-xdummy: New script: start xpra with dummy video driver.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 23 Jun 2015 09:34:20 +0000 (10:34 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 23 Jun 2015 09:34:20 +0000 (10:34 +0100)
bin/xpra-start-xdummy [new file with mode: 0755]
setup

diff --git a/bin/xpra-start-xdummy b/bin/xpra-start-xdummy
new file mode 100755 (executable)
index 0000000..c8e9d16
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh -e
+
+dpy=${1?display}; shift
+exec xpra --xvfb="Xorg -dpi 75 -noreset -nolisten tcp \
+       +extension GLX +extension RANDR +extension RENDER \
+       -config /usr/share/doc/xpra/examples/dummy.xorg.conf \
+       -logfile $HOME/.xpra/xserver-$dpy.log" \
+       "$@" start :$dpy
diff --git a/setup b/setup
index 6347acdeb9e47027e711abf8ed47a78dc4573850..2d5a0d080092ca3095b931c18440efbe5bef5879 100755 (executable)
--- a/setup
+++ b/setup
@@ -255,6 +255,7 @@ scripts="
   xinitcmd
   un-backslashify-selection
   lock-screen
+  xpra-start-xdummy
   xshutdown"
 echo "Installing scripts..."
 mkdir -p $HOME$sub/bin