Re: [dev] [dwm] Multi-seat with dwm in a single X server

From: Raimundo Martins <raimundoomartins_AT_gmail.com>
Date: Tue, 22 Oct 2013 21:56:57 +0100

> Can you share your patches, please?
>
> I would also be very interested in your specific setup and if you had to tweak
> e.g. xorg configuration.

This patch should do it. It's not exactly what I use, but it compiles,
and appears to have the same behaviour. The only difference (related to
this) is that I setup some other stuff to support multiple users in a
single config so I don't have to have multiple dwm's executables.

About xorg.conf, I only changed it to name my devices. That's it.
However I use another program I made to solve the problem in which
changing vt's (usually the ctrl+alt+f1 and similar) attaches all slave
devices to "Virtual Core" so no input is generated on other master
devices. Basically it detects changes in the input hierarchy and does
the necessary readjustments. It's a bit more complex than it could be,
but this way we make the clean changes we need.

In principle you compile two executables with different configs and do
something like:
DISPLAY=:0.0 dwm-screen0 &
DISPLAY=:0.1 dwm-screen1 &

I tried to maintain the coding style and philosophy
Hope it's helpful :)

-- 
Raimundo Martins <raimundoomartins_AT_gmail.com>


Received on Tue Oct 22 2013 - 22:56:57 CEST

This archive was generated by hypermail 2.3.0 : Tue Oct 22 2013 - 23:00:09 CEST