Skip to content

Shortcut to move mouse pointer between monitors #984

@ckarras

Description

@ckarras

Summary of the new feature/enhancement

In a setup with 3 or more monitors, it can take a long time to move the mouse between monitors. Additionally, sometimes the mouse pointer can be lost and hard to find again. Also I frequently connect my laptop at different locations (office, home, meeting rooms, etc) with different layouts, so the ordering of screens is not always optimal to move the mouse between screens efficiently.

It would be useful to have shortcuts to:

  • move the mouse pointer to the center of current screen/previous screen/next screen
  • move the mouse pointer to the center of the window that currently has focus (could be used after using Alt+Tab or Win+Tab)

It should be possible to map the shortcut to keyboard and/or mouse keys. Some mouses have additional buttons that are mapped to things like Back/Forward which I never use intentionally, remapping these buttons to move the pointer to previous/next monitor would be useful. (Example: Logitech MX500). Keyboard shortcuts for users that don't have such a mouse would also be necessary.

This should also consider the monitors as a loop:

  • when on the last monitor, moving to the next monitor should go back to the first monitor
  • and when on the first monitor, moving to the previous monitor should go back to the last monitor

This could also be combined with something like #131: whenever one of these shortcuts is used, an animation highlighting the new position of the mouse could be done (and it should be possible to disable this animation)

Example usage scenarios

  1. Cursor is lost and the user just wants to have it back at a convenient location, in the same screen. User uses the "move to center of current screen" shortcut

  2. User has 5 monitors, the mouse is currently on monitor 4 and user wants to move it to monitor 1. User has two options:

  • Click on the "move to previous monitor" 3 times to move the cursor to center of monitor 3, then the center of monitor 2, and finally the center of monitor 1
  • Or click on "move to next monitor" 2 times to move the cursor to the center of monitor 5 then the center of monitor 1
  1. User is currently on monitor 5 and used Alt+Tab or Win+Tab to focus a window that was on monitor 1. User can then press the "move to center of current window" to go to the center of that window on monitor 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions