You are not logged in.
Pages: 1
I want to make awesome or dwm multi-seat compatible. I don't want to use different sessions or xorg servers for each user/seat. The same WM in the same session both users. My only problem is that when one user gains focus, the other lose it. So I need "different" focus for each mouse. I configured awesome to focus on click. I also use a simple bash script to make the second keyboard/mouse actually work. Any help please?
I may change from awesome to dwm, so a dwm solution is also acceptable....
I have some ideas (that i don't know how to implement):
1. The two screens are completely separated so one user can't take focus of the other user's program (but only one wm instance running...)
2. Each input set has it's own focus. So the users can focus on two different windows simultaneously...
3. Each user has a screen "attached", so he can only focus on windows in it's own screen, but he can hover in the other screen...
I have only 1 graphics card (an old EVGA gt9800) but plenty of ram (16GB).
I want to run two instances of minecraft (one for each user), so keep 3d acceleration on your mind...
Last edited by ttouch (2013-01-17 21:52:23)
GitHub | Git Server | Blog
Offline
Point 3 is a bit confusing, but perhaps is possible with modification to the WM code.
Points 1 and 2 are simply not possible in a single X session - unless you completely rewrite X.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
so 2 simultaneous window focuses is impossible...
ideas?
Last edited by ttouch (2013-01-17 21:52:44)
GitHub | Git Server | Blog
Offline
dminiwm, snapwm and monsterwm can all do this. Just don't enable click to focus and follow mouse. I don't know how your bash script to enable the mouse will go with them.
HTH
You're just jealous because the voices only talk to me.
Offline
hmm, monsterwm seems the most lightweight and powerful. Any help would be appreciated
GitHub | Git Server | Blog
Offline
Let us know if you make it work, my surplus of monitors could easily turn into a lan party from time to time
Offline
@theGunslinger: sure!
@moetunes: could you help me a bit? I *try* to set up monster wm. which of the 3 do you recommend? I want the most lightweight.
Also please help me configure your recommended wm for multiseat.
GitHub | Git Server | Blog
Offline
monsterwm has a well written wiki page and a thread in the community contribution forum that should let you make a start. Basically you download the source from git, edit the config.h to suit your needs (make sure to not enable click to focus or follow mouse) and build it.
I use my own window managers so I'm not up to date with monsterwm but the people in the thread are friendly and helpful if you have any issues.
HTH
You're just jealous because the voices only talk to me.
Offline
I tested snapwm and I have no mouse pointer and the font is a bit creepy. is this normal? I can't find a lot of resources in google...
GitHub | Git Server | Blog
Offline
How is the font 'a bit creepy' ? Show us a pic please.
What sort of resources are you looking for?
Edit:
To have a mouse pointer you need to have a line in .xinitrc like
xsetroot -cursor_name left_ptr &
Last edited by moetunes (2013-01-18 20:20:56)
You're just jealous because the voices only talk to me.
Offline
I led you astray ttouch.
dminiwm, snapwm and monsterwm can have one window accepting keyboard input and another window accepting mouse input but not two windows accepting both keyboard and mouse inputs at the same time which is what you want.
Apologies for that.
I'll have some free time tomorrow so I'll see if I can hack something together to do multiseat like you want. No promises though
You're just jealous because the voices only talk to me.
Offline
testing dminiwm and it seems very promising with dzen2 and dmenu...
very nice work moetunes!
I have nearly no idea of C, so I can't help...
Can't you keep focus for each input set in an array for example? So each user can focus different windows at the same time. Tribly said not possible, is that true?
GitHub | Git Server | Blog
Offline
Tribly said not possible, is that true?
Most probably
If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres
Offline
hmmm, ok...
moetunes let us know if find a way to fix it
GitHub | Git Server | Blog
Offline
Can't you keep focus for each input set in an array for example?
Easiest way to do that is to use one of the established methods for multiseats i.e. separate xsessions. The only reason to try and have multiseats in the one window manager is so the users can have access to the same application windows.
You're just jealous because the voices only talk to me.
Offline
Offline
I'm trying to acomplish something similar: multi-seat (2 user for now) on same display, but different screens, and same window manager preferably.
Have you heard of XInput2 and Multi-Pointer X?
I tried that, but I get some keyboard issues (see my post which sadly has no replies).
Got the mice working independently and just as intended, though, after I did
xdotool mousemove --screen 1 500 500
to move the main pointer to the other screen. I'm currently examining dwm to see if I can add support for XInput2.
Offline
See http://lists.suckless.org/dev/1310/17982.html
There are some problems with this, namely programs which assume that "Virtual Core" is the only thing that exists.
On Wine non-"Virtual Core" pointers flicker alot, in QtCreator's text editor shift-key inputs only key (and caps doesn't seem to work), but for web-browsing and 3d gaming it's ok, as long as you don't mind the flickering.
Expect some unexpected behaviour to happen but please try this and tell me what you think.
I have no feedback but I'm using this for 2-3 weeks now and apart for some small minor inconveniences it works well. I have a strange minimalist setup though
Offline
That's awesome!
I also moved to DWM quite a while ago and this is just perfect!
I'll try it and report!
Thank you!
GitHub | Git Server | Blog
Offline
Hrm...
I use TwinView and I have no DISPLAY=:0.0 and DISPLAY=:0.1 available...
And I don't want to disable twinview.
Investigating the problem...
GitHub | Git Server | Blog
Offline
Pages: 1