Skip to content

Instantly share code, notes, and snippets.

@codejake
Created September 14, 2026 21:02
Show Gist options
  • Select an option

  • Save codejake/d8eea0987e53b0b2b1fed5ad27c2aa21 to your computer and use it in GitHub Desktop.

Select an option

Save codejake/d8eea0987e53b0b2b1fed5ad27c2aa21 to your computer and use it in GitHub Desktop.

Tired of seeing “Ask Siri” on every menu? Here's how to disable it.

In macOS 27, after enabling Siri AI, all context menus include a persistent “Ask Siri” context menu item. Turns out you can actually disable it without turning off Siri AI.

To disable, run the following commands in the Terminal app:

codes=(soft apwn exit loca lock logo rlgo rcnt rrst rest rsdn shut slep spro syss)
args=(-int 0)

for code in "${codes[@]}"; do
  hex=$(printf %s "$code" | xxd -p -u)
  args+=(-int "$((16#$hex))")
done

defaults write -g NSAppleMenuAllowedItems -array "${args[@]}"

and give your Mac a restart.


NSAppleMenuAllowedItems controls which items are visible in the  menu. For some reason, Apple decided that macOS shouldn't insert “Ask Siri” whenever the filter is active, even if nothing is actually disabled.

The command allowlists all  menu items. It doesn't include "abtm" (About This Mac) because it is unconditionally visible in the current code.

Re-enable with: defaults delete -g NSAppleMenuAllowedItems

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