diff --git a/x11vnc-remote-extended-display/extended-display.sh b/x11vnc-remote-extended-display/extended-display.sh index b4c0ea7..70e069a 100755 --- a/x11vnc-remote-extended-display/extended-display.sh +++ b/x11vnc-remote-extended-display/extended-display.sh @@ -29,11 +29,15 @@ xrandr | grep disconnected | awk '{print $1}' echo "---------------" read -p 'Enter one of the ports to be used for VNC: ' PORT +echo Adding new display xrandr --addmode $PORT $RESOLUTION sleep 2 +echo Activating new display +sleep 2 xrandr --output $PORT --mode $RESOLUTION - +echo "---------------" echo Configure the new diplay where you want +echo "---------------" sleep 3 arandr >> /dev/null GEO=$(xrandr | grep $PORT | awk '{print $3}')