LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Multiseat with MPX: Keyboard focus issues (https://www.linuxquestions.org/questions/linux-desktop-74/multiseat-with-mpx-keyboard-focus-issues-4175461290/)

zagzagel 05-09-2013 10:16 AM

Multiseat with MPX: Keyboard focus issues
 
Hi, I'm trying to setup a multiseat computer with a single dual-head graphics card, without using Xephyr since it's constantly crashing, is quite slow, and has no acceleration.

I've disabled Xinerama and used xdotool to pass the (old, since xdotool can't work with MPX) pointer/keyboard pair to screen 1. The pointers work perfectly, but the keyboards don't follow the focus of the respective mice, particularly they tend to stay on screen 0.

If sometimes I manage to get the keyboards to the right screens (it happens) they have issues like the arrow keys not working where the focus is, or only the window manager gets focus (I guess, since only its keygrabs respond), and other weird behaviour. Oh, dmenu only grabs focus of the Virtual Core keyboard, even if it's invoked through a xmonad shortcut triggered by the secondary keyboard.

Also, why is there no xinput2 options in xorg.conf? The only argument I've heard was that since it's done while X is running, there is no need to do static things. Well, I need static things, and when I change to a TTY and back to Xorg, the "dynamic" stuff of xinput is gone, I have to run the commands again, and AFAIK there is no automated way to detect that I changed back to X so I can trigger the commands. Is there?

I'm using Arch Linux fully updated, that it, X.Org X Server 1.14.1, xdotool version 2.20110530.1 and xmonad 0.11.

EDIT: Things appear to work fine if I stay on one screen. But I don't have 4 arms to fully test this x)


All times are GMT -5. The time now is 10:42 AM.