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

Constructing the Torc Driverless Security Case

At Torc, we’ve structured our security case on three foundational pillars: Engineer It to Be Secure, Function It to Be Secure, and the...

What’s DL+S? Unlocking the Huge Information Required to Develop Autonomous Vans

Breakthroughs in AI for autonomous driving don't occur in isolation. They occur when information, simulation, machine studying, infrastructure, and car testing work as...

Why I can’t wait to get right into a driverless automotive | Self-driving automobiles

Adrian Chiles (Driverless automobiles are taking us on a street to nowhere, 10 September) needs to know who requested for driverless automobiles. I...

Recent articles

More like this

LEAVE A REPLY

Please enter your comment!
Please enter your name here