I have 2 monitors, 2 keyboards, 2 mice, and 1 computer. How can I set it up for shared use?
I know this was possible on X but with Wayland maturing I assume it’s moved over.
I have 2 monitors, 2 keyboards, 2 mice, and 1 computer. How can I set it up for shared use?
I know this was possible on X but with Wayland maturing I assume it’s moved over.
It is possible, but it is not a wayland limitation per-say but a compositor one (aka the wayland server), and I say “limitation” if the compositor doesn’t have multi-display option.
Technically wayland is not the issue:
If you look at your
/run/user/[uid](uid is probably 1000) you will see the wayland “displays” (socket here), usually namedwayland-X. The/run[...]is usually set from $XDG_RUNTIME_DIR while the wayland socket to be used is set in the environment variable $WAYLAND_DISPLAY. So running an application in a 2nd session would just require setting the $WAYLAND_DISPLAY to an other value (that exists).It seems that Sway is able to do this with the
outputcommand.