👁22views
MacOsX: Disable clipboard sharing/ handoff

CloudScale AI SEO - Article Summary
  • 1.
    What it is
    This article provides instructions for disabling the handoff feature on macOS that automatically shares clipboard content between Apple devices.
  • 2.
    Why it matters
    Many users find the automatic clipboard sharing between devices annoying or intrusive, and the setting location is difficult to remember in macOS settings.
  • 3.
    Key takeaway
    You can disable handoff clipboard sharing with a simple script rather than hunting through system preferences.

For the life of me I can never remember where this sits in the settings, all I know is that it irritates me constantly 🙂

So to turn off handoff, run the script below:

# Turn off Handoff
defaults write ~/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.plist ActivityAdvertisingAllowed -bool no
defaults write ~/Library/Preferences/ByHost/com.apple.coreservices.useractivityd.plist ActivityReceivingAllowed -bool no

# Restart sharingd
killall sharingd