-
Notifications
You must be signed in to change notification settings - Fork 14
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
How to use wl-mirror? #22
Comments
Hi! wl-mirror currently only supports Wayland compositors based on wlroots, such as sway or hyprland (haven't tested it on hyprland yet, but it should work). Support for the two other big compositors (KDE and Gnome) is planned, but not implemented yet. This would require supporting the XDG Desktop Portals screenshare API (#16) and negotiating server or client-side window decorations (#17) and of course a bunch of testing. On sway, you would start So yes, your use case would be easily solved by I'm marking this issue as a duplicate of #17 since you are using Gnome, which is not supported yet. |
Many thanks for the clear and complet answer! For now, I give a try to Sway. I'll be there to test the gnome support when it comes around. |
How would you make sway "ignore" those screens? I have setup where I have DP-1, DP-3 and HDMI-A-1. I mirror DP-3 on HDMI-A-1. I don't want Sway to spawn work spaces on the screen that is mirrored. Hyprland can kinda do that but is rather unstable. |
You can't really ignore them but you can prevent your mouse from going there by setting their coordinates so that there is a gap between them. e.g. if you use the two DP screens and want to mirror to the HDMI one: DP-1 at 0,0 with 1920x1080, DP-3 at 1920,0 with 1920x1080 (contiguous, no gap), HDMI-A-1 at 3900,0 with 1920x1080 (gap of 60 pixels) it also helps if you make the active workspace on HDMI-A-1 something that you are unlikely to use, e.g. workspace 11. With a gap like this, sway will prevent you from moving your mouse to the gapped off monitor normally, but you can still switch to it using the keyboard and by focusing the workspace that lives on that monitor. |
That sounds like a good workaround I will try.
There was another PR to built something inside sway with a wlroots PR.
|
I'm trying to figure how to use wl-mirror. I'm on Debian testing using gnome and wayland, I don't understand the parameter I should put in the when running the command wl-mirror. What would be examples of output?
My use case is that I have projector as a second screen connected to my laptop and I would to monitor the output of the projector in a window on my main laptop screen. Can I accomplish that with wl-mirror?
Any help will be appreciated.
Cheers,
The text was updated successfully, but these errors were encountered: