Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7727687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T05:31:18+00:00 2026-06-01T05:31:18+00:00

Is it possible to have two different foci/focuses on X windows?

  • 0

Is it possible to have two different foci/focuses on X windows? (Basically using two mice and keyboards with one physical machine simultaneously. If so, how is this accomplished?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T05:31:20+00:00Added an answer on June 1, 2026 at 5:31 am

    With recent Xorg servers, yes. You need to use the XInput Extension version 2.0 or newer. You’ll also need a Window Manager capable of doing that, and I’m not sure which of the modern WMs can do that already.

    Documentation:

    • http://cgit.freedesktop.org/xorg/proto/inputproto/
    • http://cgit.freedesktop.org/xorg/lib/libXi/
    • http://who-t.blogspot.com/ (he’s the guy who wrote all this stuff, his blog is full of things to learn)

    On Debian Testing I can even get two pointers and start using them right now (one controlled by the USB mouse and the other by the touchpad):

    pzanoni@vicky:~$ xinput --list
    ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                         id=11   [slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]
    ⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
    ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Video Bus                                 id=7    [slave  keyboard (3)]
        ↳ Sleep Button                              id=8    [slave  keyboard (3)]
        ↳ Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )     id=9    [slave  keyboard (3)]
        ↳ Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )     id=10   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
        ↳ ThinkPad Extra Buttons                    id=15   [slave  keyboard (3)]
        ↳ ACPI Virtual Keyboard Device              id=16   [slave  keyboard (3)]
    pzanoni@vicky:~$ xinput --create-master my 1 1
    pzanoni@vicky:~$ xinput --list
    ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ USB Optical Mouse                         id=11   [slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad                id=13   [slave  pointer  (2)]
    ⎜   ↳ TPPS/2 IBM TrackPoint                     id=14   [slave  pointer  (2)]
    ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Video Bus                                 id=7    [slave  keyboard (3)]
        ↳ Sleep Button                              id=8    [slave  keyboard (3)]
        ↳ Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )     id=9    [slave  keyboard (3)]
        ↳ Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 )     id=10   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=12   [slave  keyboard (3)]
        ↳ ThinkPad Extra Buttons                    id=15   [slave  keyboard (3)]
        ↳ ACPI Virtual Keyboard Device              id=16   [slave  keyboard (3)]
    ⎡ my pointer                                id=17   [master pointer  (18)]
    ⎜   ↳ my XTEST pointer                          id=19   [slave  pointer  (17)]
    ⎣ my keyboard                               id=18   [master keyboard (17)]
        ↳ my XTEST keyboard                         id=20   [slave  keyboard (18)]
    pzanoni@vicky:~$ xinput --reattach "SynPS/2 Synaptics TouchPad" "my pointer"
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have two different servers running our web application, one is Windows and other
Is it possible to have two different databases for development or production? One for
Is this possible to have two (or more) different kinds of cells to be
Is it possible to have two methods with the same name but different parameters
Possible Duplicate: How to calculate the difference between two dates using PHP? I have
Possible Duplicate: How to calculate the difference between two dates using PHP? I have
Is it possible to have two app.config files where one app.config serves as a
I have two different versions of linux/unix each running cfengine3. Is it possible to
Possible Duplicate: Reading dll.config (not app.config!) from a plugin module. I have two different
Is it possible to have two different cache instances for Zend_Cache ? For instance,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.