The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

How to play GUI games in a multi-monitor configuration?

asked 2015-05-30 02:09:00 +0000

Mori gravatar image

updated 2015-05-30 03:13:45 +0000

The two games that I play on Linux are almost unplayable on a multi-monitor i3 setup. Are there any ways to make these work?

Minecraft goes nuts when the pointer leaves its window, jerking the perspective around randomly, causing death and dismemberment when a monster is around. And it doesn't display a pointer so that's very hard to avoid. Can I somehow trap the pointer in that window?

Total War: Empire scrolls its map toward the pointer. When you leave the window it scrolls to the edge of the map, losing your place. Can I make the mouse pointer of the game window independent of other windows? Meaning, I'd like to switch to window B, move the mouse around, and when I switch back to the game window the pointer is in the same position as when I left.

Or is this keyboard-centric window manager just incompatible with a mouse-intensive game?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2015-05-30 11:50:43 +0000

Airblader gravatar image

updated 2015-05-30 11:54:17 +0000

No, i3 does not offer this. See for example #1699. Our current standing on this, in particular for games, is that games should confine the cursor to their own window theirselves and if they don't, you should file a bug against them.

Unfortunately this cannot be done in an external tool either. Trust me – I tried. For an explanation see the ticket above.

What you could do is temporarily change your external screen setup and moving them to a layout like this:

+---+
|   |
+---+---+
    |   |
    +---+
edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-05-30 02:09:00 +0000

Seen: 359 times

Last updated: May 30