LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 05-09-2013, 10:16 AM   #1
zagzagel
Member
 
Registered: Jul 2010
Location: Portugal
Distribution: Arch Linux
Posts: 31

Rep: Reputation: 1
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)

Last edited by zagzagel; 05-09-2013 at 10:21 AM.
 
  


Reply

Tags
focus, keyboard, mpx, multiseat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X11 window focus issues ArchonOne Linux - Software 5 12-10-2012 04:40 PM
Mice and Keyboard shared on Multiseat Gentoo GrateWhiteSmurf Linux - Desktop 1 04-27-2011 02:23 AM
Mandriva 2008.0 evdev with usb keyboard for multiseat config darion Mandriva 1 08-02-2008 07:40 AM
Unable to set focus to the user name field in login screen using keyboard alone Lindaramachandr Linux - General 3 12-29-2004 09:43 AM
RedHat 7.2 windows lost mouse and keyboard focus sstang Linux - Software 8 01-13-2002 07:28 PM


All times are GMT -5. The time now is 08:46 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration