Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    [Openbox + Twinview] Make mouse stay in 1 screen unless..


    I would like my mouse not to leave the screen unless I alt tab to a different window while playing games. Otherwise scrolling gets messed up when I go to the right.

    Code:
    Section "Monitor"
        Identifier     "Monitor0"
        VendorName     "Unknown"
        ModelName      "Samsung SyncMaster"
        HorizSync       30.0 - 81.0
        VertRefresh     56.0 - 60.0
        Option         "DPMS"
    EndSection
    
    Section "Device"
        Identifier     "Device0"
        Driver         "nvidia"
        VendorName     "NVIDIA Corporation"
        BoardName      "GeForce 8800 GTS"
        Option         "NoLogo" "True"
        Option         "RenderAccel" "True"
        Option         "TripleBuffer" "True"
        Option         "DamageEvents" "True"
    EndSection
    
    Section "Screen"
        Identifier     "Screen0"
        Device         "Device0"
        Monitor        "Monitor0"
        DefaultDepth    24
        Option         "TwinView" "1"
        Option         "TwinViewXineramaInfoOrder" "DFP-1"
        Option         "metamodes" "DFP-0: nvidia-auto-select +0+0, DFP-1: nvidia-auto-select +1920+0"
        SubSection     "Display"
        Depth       24
        EndSubSection
    EndSection
    DFP-0 will be my gaming screen.

  2. #2
    I found a solution:

    gunnewiek.com/scripts/mousejail.htm

Posting Permissions

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