Find the answer to your Linux question:
Results 1 to 4 of 4
Does anyone know how to trap the mouse pointer on one screen using a dual monitor (2 video adapters), Xinerama config? I am running an application in DOSEMU and WINE ...
  1. #1
    Just Joined!
    Join Date
    Jan 2008
    Posts
    9

    Dual monitor mouse trap

    Does anyone know how to trap the mouse pointer on one screen using a dual monitor (2 video adapters), Xinerama config?

    I am running an application in DOSEMU and WINE under SLED 10.1 SP1. The app brings a drawing up on one screen and retains a text format on the second screen, hence a dual head config won't work - must be two video cards.

    The app runs properly but when the mouse moves out of the graphics screen (screen 1) then returns to that screen, the X and Y parameters in the application are not retained properly. In a windows environment the mouse is trapped in the graphical screen. Anyway to do that in Linux?

    I tried MouseJail but that would not trap the mouse, possibly because it was written for Dual Head (one video card, two ports) mode. I also tried Dual Head mode but when the drawing is displayed on port 1, port 2 with the text shuts down. I presume that is a hardware limitation (unable to have each port on the same adaptor function completely independant)?

    Thanks for any ideas,

    Dave

  2. #2
    Just Joined!
    Join Date
    Oct 2007
    Posts
    9
    Try this program
    Synergy

  3. #3
    Just Joined!
    Join Date
    Jan 2008
    Posts
    9
    Thanks for the suggestion. Unfortunately it looks like Synergy is focused towards multiple PCs. My config is a single PC, 2 video adapters in Xinerama mode as per legacy application requirements.

    The Synergy config file wants 2 or more display names but Xinerama configuration only provides a single display name. Anyone know of any way around that?

  4. #4
    Just Joined!
    Join Date
    Jan 2008
    Posts
    9
    I found a solution to this. In Dosemu 1.4.0 there is a 'mouse grab' function that will lock the mouse inside my graphics screen properly. The dosemu.conf file specifies the keystroke for this - Control/Alt/Home by default. It works great. Now if I could just automate those keystrokes to avoid another end-user pitfall. This is a test environment but, if things work out, I'm hoping to deploy SUSE desktops to 200 users here.

    Thanks to all for the previous suggestions!

    Dave

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...