diff options
| author | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-12 11:27:28 +0530 |
|---|---|---|
| committer | Aargh Rai <aargh.rai+git@gmail.com> | 2026-08-12 11:27:28 +0530 |
| commit | 961fff2de6ef80c8ef0ccc4b2e3324f39ab619e6 (patch) | |
| tree | fd820213530d2b360448a938a0030c9f3556664e /scripts | |
| parent | 1cb4e47ccadfe3c673d46808838eca751001609e (diff) | |
vnc extend like second monitor
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/vnc-extend.sh | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/scripts/vnc-extend.sh b/scripts/vnc-extend.sh new file mode 100755 index 0000000..6004958 --- /dev/null +++ b/scripts/vnc-extend.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash + +set -euo pipefail + +DISPLAY=:0 + +x11vnc \ + -display :0 \ + -auth /run/user/1000/lyxauth \ + -clip 1366x768+1920+0 \ + -viewonly \ + -noshm \ + -noxdamage \ + -nowf \ + -forever \ + -shared \ + -rfbauth "$HOME/.config/vnc/passwd" + +# x11vnc \ +# -display :0 \ +# -auth /run/user/1000/lyxauth \ +# -clip 1366x768+1920+0 \ +# -xwarppointer \ +# -noshm \ +# -noxdamage \ +# -forever \ +# -shared \ +# -rfbauth "$HOME/.config/vnc/passwd" \ +# -debug_pointer + +# x11vnc \ +# -display :0 \ +# -auth /run/user/1000/lyxauth \ +# -clip 1366x768+1920+0 \ +# -noshm \ +# -noxdamage \ +# -nowf \ +# -forever \ +# -shared \ +# -rfbauth "$HOME/.config/vnc/passwd" \ +# -debug_pointer |
