matteodelabre/vnsee

Not showing as external screen

simonante opened this issue · 0 comments

Vnsee works, but only mirrors a part of main screen.
How to make rm a separate second screen?

I use the following shell script:

#!/bin/bash
xrandr --newmode 1404x1872 0 1404 1404 1404 1404 1872 1872 1872 1872
xrandr --addmode DisplayPort-0 1404x1872
xrandr --output DisplayPort-0 --mode 1404x1872 --left-of eDP
x11vnc -repeat -forever -nocursor -allow 10.11.99.1 -rotate 90 -nopw $(xrandr | perl -n -e'/-DisplayPort-0 .*?\d+x\d+\+\d+\+\d+)/ && print $1')

When I include -clip in the x11vnc command I get the following:

xrandr: Configure crtc 1 failed
Unmatched ) in regex; marked by <-- HERE in m/DisplayPort-0 .*?\d+x\d+\+\d+\+\d+) <-- HERE / at -e line 1. not enough arguments for: -clip