-
-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wishlist: shadowing only the display space corresponding to an external monitor #3320
Comments
Adding the code to support arbitrary shadow geometries should be quite easy.
And locate the matching display.
And just use the geometry specified. What's likely to be more difficult is handling of monitor hot-plugging, but we can worry about that later. |
This would be great! Even if it is not 100% related, I would like to annotate that I have asked the xrandr developers if it would be possible on their side to provide a way to pretend completely in software that an external monitor is attached. This would save the use of a virtual adapter plug in many occasions. See (https://gitlab.freedesktop.org/xorg/app/xrandr/-/issues/59#note_1108355). They have indicated that there should be no need for that because if an output has a mode set, it should be considered enabled, but unfortunately many clients do not seem to behave in this way (most notably KDE Plasma and libreoffice). I am reporting this because:
|
Initial support added in the commit above.
To shadow just the The syntax is likely to change to support more generic filters and options. Perhaps |
try to parse the string as a list of geometries and use plug_name as fallback
With the commits above, we now support this feature with MS Windows shadow servers and using a more user friendly syntax:
On MS Windows and MacOS, the display name ( To get the list of output names (ie: This feature is available in beta builds 4.3-r30301 and later. |
This information has been added to the man page: a0e0b5e |
There seems to be a way to add a virtual output with evdi (https://unix.stackexchange.com/a/585078). I have not yet tested it. |
I would like to shadow only one part of a display, namely the one corresponding to an external monitor.
It is my understanding that the shadow operation mode shadows a full display. Namely if you have an external monitor attached, that is placed, e.g. right of your standard screen via xrandr, xpra will shadow the full display area (namely the one extending from your standard screen to the right to include also the area corresponding to your external monitor).
Would it be possible to introduce switches to shadow only the area corresponding to the external monitor — or if switches to achieve this goal already exist to better document them, maybe with an example?
This would be extra-useful. Specifically, it would let you attach a "virtual display adapter" to the external (HDMI/DP) port of a computer (see https://www.amazon.com/s?k=virtual+display+adapter) to pretend that there is an external monitor attached and make your desktop environment and applications use it. Then it would let you virtualize this monitor over xpra to some other place (e.g. inside a web-browser in a tablet). In other words it would let you do the same thing that can be done with deskreen (https://deskreen.com/), but most likely with the better efficiency and flexibility of xpra in terms of encodings, etc.
The text was updated successfully, but these errors were encountered: