Debian – How to keep the cursor focus when switching of workspace if I have a fullscreened window on another screen

debianfullscreengnomeworkspaces

Let's say I have,

On screen 1:

  • workspace A: a web browser, extended (not full-screened with F11, just maxed out).
  • workspace B: a terminal with Vi for example.

On screen 2:

  • a web browser, full-screened.

When I switch, with Ctrl+Alt+or, from workspace A to workspace B on screen 1, my cursor switch to screen 2 if, and only if, I have something full-screened.

I lose my cursor focus and it's annoying when I'm editing a file with Vi, while watching a video in full screen on my second screen, check something on chrome and go back to my Vi instance as what I type is now typed on my chrome instance on my other screen.

Is it possible to force my cursor to stay on my first screen when I have a full-screened window in my second screen?

I'm on Debian Jessie and Gnome 3.

Best Answer

This isn't too much of a fix as it is an annoyance minimizer, but in System->Preferences->Monitors, drag the 2nd monitor to the edge so that they only touch corners. Theoretically, that means it'll only transfer over if you pull the mouse into a corner. On the Debian/Gentoo Wiki, they posted a small program that might work also. Good luck my man

Related Question