santiagofdezg / linux-extend-screen Goto Github PK
View Code? Open in Web Editor NEWTurn your Android tablet into a second monitor on Linux (extend screen)
License: MIT License
Turn your Android tablet into a second monitor on Linux (extend screen)
License: MIT License
when i use the "xrandr" command, i get the following output:
Screen 0: minimum 16 x 16, current 1366 x 768, maximum 32767 x 32767
XWAYLAND0 connected 1360x768+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
1360x768 59.80*+
1024x768 59.92
800x600 59.86
640x480 59.38
320x240 59.52
720x480 59.71
640x400 59.95
320x200 58.96
1280x720 59.86
1024x576 59.90
864x486 59.92
720x400 59.55
640x350 59.77
and when i use
"xrandr --addmode HDMI-1-1 1280x800_60.00"
i get the following output
"xrandr: cannot find output "HDMI-1-1"
help out and let me understand where i went wrong
Thank you :)
Gives error on :
$ xrandr --output HDMI-1 --mode 832x396_30.00 --right-of eDP-1
xrandr: Configure crtc 1 failed
Use '-clip xinerama0' to clip to the first xinerama
sub-screen (if xinerama is active). xinerama1 for the
2nd sub-screen, etc. This way you don't need to figure
out the WxH+X+Y of the desired xinerama sub-screen.
screens are sorted in increasing distance from the
(0,0) origin (I.e. not the Xserver's order).
Ought to be xinerama1
for the common use case of no other screen being connected (and easily adjusted for other setups), which makes the whole script a lot more more robust.
Thank you very much for providing the expertise shared here!
I find the connection via ADB rather slow. If I use screen mirroring via the tigervnc-scraping-server running x0vncserver, the connection is fast. Any spontaneous ideas in terms of how to improve the speed in your setup would be welcome.
What I am really interested in is to use a tablet as secondary display on a teleprompter in a video conference (setup like this: https://www.youtube.com/watch?v=ScnXGRLugVk). The problem is to mirror flip the display. Of course, this is possible with an HDMI camera field monitor, but that is much less travel friendly and versatile compared to an android tablet.
One can use VNC via ADB but it seems next to impossible to mirror flip the image. xrandr -x does turn the display, but only locally, not via VNC. Android VNC clients able to mirror flip on the client side do not seem to be available. A VNC forum discussion forum did not provide an answer (https://groups.google.com/g/tigervnc-users/c/vy-lLJ3p8lY).
Do your think that your setup could incorporate an xrandr -x, so that the VNC target does see the screen mirror flipped? For that purpose a separate display (to the left or right ...) would not be necessary. A reflection of the main display would be just as good.
Regards,
Michael Schefczyk
For some reason my second display is always mirroring the 1st, and my display manager doesn't show a second monitor existing.
I'm setting xrandr to put the second display left of or right of, and there's a bit more desktop available on the second monitor since it's a wider resolution, but it's basically mirrored rather than an extended desktop.
Any ideas for something I can try to fix this? I'm out of ideas :/
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.