Skip to content

Instantly share code, notes, and snippets.

@jthodge
Created September 6, 2020 22:07
Show Gist options
  • Select an option

  • Save jthodge/c4ba15a78fb29671dfa072fe279355f0 to your computer and use it in GitHub Desktop.

Select an option

Save jthodge/c4ba15a78fb29671dfa072fe279355f0 to your computer and use it in GitHub Desktop.
Show macOS app switcher across all monitors
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock
@chanana

chanana commented Dec 29, 2021

Copy link
Copy Markdown

It started working for me after a few reboots! 🤷‍♂️ Thanks for the help @jonathanbell @grigorye 🎉

@jonathanbell

jonathanbell commented Dec 29, 2021 via email

Copy link
Copy Markdown

@nicolycrispi

Copy link
Copy Markdown

Thank you!

@sarnobat

Copy link
Copy Markdown

I wish this was default behaviour!

@n3taway

n3taway commented Mar 8, 2022

Copy link
Copy Markdown

nice thanks👍

@IliaEremin

Copy link
Copy Markdown

Didn't work for me: Macos 12.1 (21C52) macbook pro m1 2020 13'

@gregatgoogle

Copy link
Copy Markdown

Worked for me after a restart.

@ozozozd

ozozozd commented Apr 18, 2022

Copy link
Copy Markdown

MacBook Pro (16-inch, 2021) M1 Pro - Monterey 12.1

The following worked on the first try:
defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock

@paulodeon

Copy link
Copy Markdown

Amazing!

Also worked for me on 12.4 Monterey, 16" M1 Macbook Pro

@brianc118

Copy link
Copy Markdown

Didn't work for me on 12.4 Monterey, 14" M1 Macbook Pro, even after reboot

@sanp

sanp commented Jul 27, 2022

Copy link
Copy Markdown

Initially, this was not working for me either (12.4 Monterey MacBook Pro 13-inch, M1, 2020). I guess the reason was that I had some other dock settings changes which were conflicting with this. What worked for me was resetting the dock to its default state and then running the above commands again.

To reset the dock to its default state:

defaults delete com.apple.dock; killall Dock

And then:

defaults write com.apple.Dock appswitcher-all-displays -bool true
killall Dock

This worked for me.

@philc

philc commented Aug 17, 2022

Copy link
Copy Markdown

I could not get this working on an M1 MacBook pro 12.4 Monterey, even with a restart. @sanp's fix worked for me. Thank you!

@legcan

legcan commented Oct 19, 2022

Copy link
Copy Markdown

Works for me on M1 Macbook Air 12.3 Monterey. No fix was needed.

@rhydlewis

Copy link
Copy Markdown

Alas, not working for me on a M1 Max MacBook Pro running Ventura 13.0.1 - anyone else managed to get this working on Ventura?

@MacDada

MacDada commented Nov 22, 2022

Copy link
Copy Markdown

defaults write com.apple.dock appswitcher-all-displays -bool true && killall Dock – works for me on Monterey

Make sure that dock in com.apple.dock is LOWERCASE – it didn't work for me with uppercase – probably because my file system is case sensitive.

@angelolucas

Copy link
Copy Markdown

defaults write com.apple.dock appswitcher-all-displays -bool true && killall Dock – works for me on Monterey

Make sure that dock in com.apple.dock is LOWERCASE – it didn't work for me with uppercase – probably because my file system is case sensitive.

dock written in lowercase worked for me. Thank you so much

@rhydlewis

Copy link
Copy Markdown

Works for me when dock written in lower case... thanks all 🙌

@jedrekdomanski

Copy link
Copy Markdown

Doesn't work on Ventura

@pmbuko

pmbuko commented Jan 23, 2023

Copy link
Copy Markdown

defaults write com.apple.dock appswitcher-all-displays -bool true && killall Dock works for me on Ventura. No reboot needed.

@cheerfulstoic

Copy link
Copy Markdown

OMG, this is awesome, thank you!

@tomfuertes

Copy link
Copy Markdown

Lowercase dock from this message finally worked for me on Ventura (Following 1+ years).

https://gist.github.com/jthodge/c4ba15a78fb29671dfa072fe279355f0?permalink_comment_id=4378478#gistcomment-4378478

@nadimkobeissi

Copy link
Copy Markdown

@tomfuertes

Lowercase dock from this message finally worked for me on Ventura

Thanks, lowercase dock worked for me too! This is the exact command I used:

defaults write com.apple.dock appswitcher-all-displays -bool true; killall Dock;

macOS 13.3.1, M1 Max.

@BShowen

BShowen commented Jun 29, 2023

Copy link
Copy Markdown

@alinoz

alinoz commented Nov 24, 2023

Copy link
Copy Markdown

@tomfuertes

Lowercase dock from this message finally worked for me on Ventura

Thanks, lowercase dock worked for me too! This is the exact command I used:

defaults write com.apple.dock appswitcher-all-displays -bool true; killall Dock;

macOS 13.3.1, M1 Max.

This worked for me - no reboot required
Sonoma 14.1.1, M2 Max 14"

thanks so much for everyone involved in the solution, very much appreciated

@vietstone-ng

Copy link
Copy Markdown

Maybe the dock in com.apple.dock should be lowercase

defaults write com.apple.dock appswitcher-all-displays -bool true
killall Dock

@infuerno

infuerno commented Sep 6, 2024

Copy link
Copy Markdown

+1 lowercase com.apple.dock version working without reboot
macOS Sonoma 14.16.1, M3 Pro

@mattorb

mattorb commented Nov 6, 2024

Copy link
Copy Markdown

✔️ works here Sequoia 15.1

@nimaipatel

Copy link
Copy Markdown

Worked on Sequoia 15.0.1 after restarting. Thanks!

@borondics

Copy link
Copy Markdown

Works on Tahoe 26.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment