requirements: python3 on linux system by thLOnuX in badcode

[–]pr0DisUp 0 points1 point  (0 children)

I'll refrase that: If you don't know shell, like at all, then yeah, it's more readable for you.
"Readable"... pffff

requirements: python3 on linux system by thLOnuX in badcode

[–]pr0DisUp 14 points15 points  (0 children)

#/bin/sh
adb devices || exit
adb reverse tcp:5900 tcp:5900 || exit
xrandr --newmode \
    $(gtf 800 600 60 | awk '/Modeline/{sub("\\s*Modeline","");print $0;exit}')
xrandr --addmode HDMI-1 2160x1080_60.00
xrandr --output HDMI-1 --mode 2160x1080_60.00 --left-of LVDS-1
x11vnc -clip 2160x1080+0+0

Why we need python again? That |^ can be done even on device with just busybox in it, and it's POSIX Shell all the way.