1. cd /tmp/
2. git clone https://github.com/ChipTechno/Android-as-second-monitor-for-linux
3. cd Android-as-second-monitor-for-linux
4. sudo ./install.sh
5. sudo mousepad /usr/share/X11/xorg.conf.d/20-intel.conf
Section "Device"
Identifier "intelgpu0"
Driver "intel"
Option "VirtualHeads" "2"
EndSection
6. vmon setup
7. vmon disable
8. Repeat steps 6 and 7 on a reboot, to reactivate the Android tablet as a monitor.
If you want to disable the Android monitor, type the following command vmon disable
.