Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to disable the copy-paste feature? I would prefer system-wide, but a solution for a single application would be a good start.

share|improve this question
Can you tell us what you're trying to prevent? There may be other solutions for that. – ott-- Jun 18 '13 at 20:38
I'm trying to prevent myself from using it ;) btw, I'd also be interested in a tool that counts the Cmd-C usages. – c089 Jun 19 '13 at 9:58
If the problem is that you occasionally drag/drop something accidentally, understand that if you immediately do Cmd-Z (Ctrl-Z on Windows) it will "undo" your last action (and repeating Cmd-Z several times will undo the last several actions, up to a point). This has rescued me many times. Cmd-Z works in most programs that support copy/paste. – Daniel R Hicks Jun 30 '13 at 11:58
up vote 3 down vote accepted

You might also disable the pboard process:

launchctl unload -w /System/Library/LaunchAgents/

After quitting and reopening applications, pasting should stop working in most contexts. It also makes drag and drop and many services stop working.

You can undo the changes by replacing unload with load or by editing /var/db/launchd.db/$UID/overrides.plist.

share|improve this answer
Thanks, that works :-) – c089 Jun 30 '13 at 12:17

Depending on what you are trying to do, you might use a background process that resets the clipboard periodically. For example save this plist as ~/Library/LaunchAgents/disablecopypaste.plist:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN>
<plist version="1.0">
set the clipboard to ""
delay 1
end repeat</string>

Then load it with launchctl load ~/Library/LaunchAgents/disablecopypaste.plist or by logging out and back in

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .