I have multiple spaces setup and can navigate them via ctrl and the arrow keys left and right on the current active monitor.
Now I want to change to a space that sits on the other monitor.
How do I switch there? I am looking for a keyboard only solution.
Best Answer
Here's a shell one-liner that will do what you ask:
-r
: When done, move the mouse back to where it was when it startedm:=-50,300
: move the mouse to the coordinates (-50, 300). The=
is to actually do negative x values (for another monitor) rather than relativew:50
: wait 50 millisecondskd:ctrl
: Press control keykp:arrow-left
: Press and release the left arrowku:ctrl
: Release control keyw:50
: wait 50 milliseconds(0,0) is the upper left corner of the primary monitor.