Skip to content

Instantly share code, notes, and snippets.

View itsantonis's full-sized avatar
😀

Antonis itsantonis

😀
View GitHub Profile
@8bitbuddhist
8bitbuddhist / create-android-display.sh
Last active October 6, 2023 14:03
Bash script to use an Android device as a second monitor for Linux. See https://blog.8bitbuddhism.com/2019/12/01/how-to-use-your-android-tablet-as-second-monitor/ for detailed instructions.
#!/bin/bash
# Make sure your Android device is plugged in and accessible over adb.
#### Remember to enable virtual displays in xorg by adding the following to your configuration (e.g. /usr/share/X11/xorg.conf.d/20-virtual.conf)
# Section "Device"
# Identifier "intelgpu0"
# Driver "intel"
# Option "VirtualHeads" "1"
#EndSection