macos – Keyboard shortcut to flip show association

on

|

views

and

comments


Right here is the answer I’ve discovered!

  1. Open Terminal

  2. Set up brew

    /bin/bash -c "$(curl -fsSL https://uncooked.githubusercontent.com/Homebrew/set up/HEAD/set up.sh)"

  3. Set up displayplacer

    brew faucet jakehilborn/jakehilborn && brew set up displayplacer

  4. Set up iCanHazShortcut

    brew set up icanhazshortcut

  5. Use macOS System Preferences to place shows in “appropriate” association (System Preferences > Shows)

  6. Use displayplacer to get “appropriate” show association arguments utilizing Terminal

    displayplacer checklist

(scroll to backside)

`displayplacer "id:AB3507C3-C84E-4F19-9CC8-BA286B9FF967 res:1920x1080 hz:60 color_depth:7 scaling:on origin:(0,0) diploma:0" "id:397A8EBB-E3B2-475D-8FF6-ED98E60B7B2C res:1920x1080 hz:60 color_depth:7 scaling:on origin:(1920,0) diploma:0"`

(This was mine, yours could also be completely different.)

  1. Use macOS System Preferences to place shows in a “flipped” association (System Preferences > Shows)

  2. Use displayplacer to get “flipped” show association arguments utilizing Terminal

    displayplacer checklist

(scroll to backside)

`displayplacer "id:AB3507C3-C84E-4F19-9CC8-BA286B9FF967 res:1920x1080 hz:60 color_depth:7 scaling:on origin:(0,0) diploma:0" "id:397A8EBB-E3B2-475D-8FF6-ED98E60B7B2C res:1920x1080 hz:60 color_depth:7 scaling:on origin:(-1920,0) diploma:0"`

(Once more, yours could also be completely different.)

  1. Open iCanHazShortcut and create a brand new shortcut for show association #1. Within the Command area, copy/paste the “appropriate” show association arguments from above, changing “displayplacer” with /choose/homebrew/Cellar/displayplacer/1.2.0/bin/displayplacer
  2. Select a keyboard shortcut (I selected Cmd+Ctrl+Shift+1)
  3. Create a brand new shortcut for show association #2. Within the Command area, copy/paste the “flipped” show association arguments from above, changing “displayplacer” with /choose/homebrew/Cellar/displayplacer/1.2.0/bin/displayplacer
  4. Select a keyboard shortcut (I selected Cmd+Ctrl+Shift+2)
  5. Take a look at your setup. One keyboard shortcut ought to flip the shows so the cursor will get caught within the center. The opposite keyboard shortcut ought to put the shows within the appropriate association and help you mouse the mouse freely between shows.

I hope this helps somebody!

Share this
Tags

Must-read

Waymo is attempting to seduce me. However an alternative choice is staring us within the face | Dave Schilling

It’s Tremendous Bowl weekend right here in America, which suggests a number of issues: copious quantities of gut-busting meals, controversial half-time present performances,...

Waymo raises $16bn to gas international robotaxi enlargement | Know-how

Self-driving automobile firm Waymo on Monday stated it raised $16bn in a funding spherical that valued the Alphabet subsidiary at $126bn.Waymo co-chief executives...

Self-driving taxis are coming to London – ought to we be anxious? | Jack Stilgoe

At the top of the nineteenth century, the world’s main cities had an issue. The streets had been flooded with manure, the unintended...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here