Skip to content

Instantly share code, notes, and snippets.

@jthodge
Created September 6, 2020 22:07
Show Gist options
  • Save jthodge/c4ba15a78fb29671dfa072fe279355f0 to your computer and use it in GitHub Desktop.
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
@grigorye
Copy link

@chanana
Copy link

chanana commented Dec 29, 2021

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

@jonathanbell
Copy link

jonathanbell commented Dec 29, 2021 via email

@nicolycrispi
Copy link

Thank you!

@sarnobat
Copy link

I wish this was default behaviour!

@n3taway
Copy link

n3taway commented Mar 8, 2022

nice thanks👍

@IlyaEremin
Copy link

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

@gregatgoogle
Copy link

Worked for me after a restart.

@ozozozd
Copy link

ozozozd commented Apr 18, 2022

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

Amazing!

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

@brianc118
Copy link

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

@sanp
Copy link

sanp commented Jul 27, 2022

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
Copy link

philc commented Aug 17, 2022

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
Copy link

legcan commented Oct 19, 2022

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

@rhydlewis
Copy link

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
Copy link

MacDada commented Nov 22, 2022

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

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

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

@jedrekdomanski
Copy link

Doesn't work on Ventura

@pmbuko
Copy link

pmbuko commented Jan 23, 2023

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

@cheerfulstoic
Copy link

OMG, this is awesome, thank you!

@tomfuertes
Copy link

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

@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
Copy link

BShowen commented Jun 29, 2023

@alinoz
Copy link

alinoz commented Nov 24, 2023

@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

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

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

@infuerno
Copy link

infuerno commented Sep 6, 2024

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

@mattorb
Copy link

mattorb commented Nov 6, 2024

✔️ works here Sequoia 15.1

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