Looking to find a way to use a terminal command to disable/enable desktop widgets in macOS Sonoma. The closest I have been able to find so far is a script that does this. However, I would like to do this from terminal, or from another app (such as BetterTouchTool) without running the script if possible.


  • So run the script from the terminal, or attach a keystroke to it, or have BetterTouchTool run it. Commented Nov 3, 2023 at 14:46
  • The script requires that it open system preferences and inserts mouse clicks. As a result, it’s unreliable and slow. Ideally, there’d be a more direct path.
    – XRegex
    Commented Nov 4, 2023 at 19:27


You must log in to answer this question.

Browse other questions tagged .