dianariyanto / virtual-display-linux

Create virtual display / monitor on linux OS for extended display via teamviewer or vnc server without any real Monitor is Plugged In.
MIT License
531 stars 45 forks source link

Add script to automatically enable / disable second monitor (with vnc) #18

Closed augustin64 closed 2 years ago

augustin64 commented 2 years ago

Thanks for this awesome project ! I added a script that I made, which is a bit specific since it's only to use with vnc + adb but is a timesaver. I used adb in this to prevent exposing vnc to the network (running with -localhost), but it could be adapted to run on the network if adb is not installed.

PS: you'll need to enable usb debugging in Android to use adb port forwarding

dianariyanto commented 2 years ago

Hi @augustin64 i think you need edit readme.md too. some user may can't or dont know how to use the script.

piranna commented 2 years ago

Any update on this? Can it be merged?

augustin64 commented 2 years ago

I know it is a bit late, but I've added the instructions for the script.

piranna commented 2 years ago

I know it is a bit late, but I've added the instructions for the script.

No worries, better later than never :-)