App to use any android device as second monitor on linux.
The app may have multiples MainActivities.
- Push the app using adb
- Ask device for it's resolution. (using
adb
or theapp
) - Create a virtual display matching device answer
- Start vnc server
- Push host's configurations to device
- Start the app using adb
We already made some of those things using a simple script.
Take a look at the monitor.sh.
This script will create the virtual monitor and start x11vnc server for you.
You only need to pass those parameters, if you want. The parameters could be passed in any order
- Device resolution using [width]x[height], without bracets. Sample 800x600
-v
- VIRTUAL display to be used. Sample v1, v2, v3-left
or `-right - the position of your device, related to you display-hst
- Subtract status bar size from virtual display-hsb
- Subtract system bar size from virtual display
Some Android device return can return the resolution throught command line.
To use that you will need to enable developer mode on your device. Check this to enable.
To finish you'll need to point your adb location inside the script file.
With this you don't need to pass any parameters to the script.
(This is only recomended for developers)
In script file, there's a comment on top asking you to select one of those fisical
.
So if you are using VGA
or HDMI
video output, comment fisical="LVDS1"
and uncomment your video output.
Follow this tutorial.
This app will be made by the rage because we have a lot of apps for all other platforms
Only linux isn't supported by those apps.
- AirDisplay
- AirDisplay Android
- Splashtop*
- Splashtop Extended Display Android
- iDisplay Android
- DuetDisplay
Splashtop appear to have a beta, for linux.
\o/