From TextMate Wiki

Troubleshooting: CantPaste

After having killed `pbs` you need to relaunch affected applications. If the problem persists, re-login to your account or reboot.

(source: [the ronge blog](http://www.theronge.com/2006/05/13/pasteboard-server-hangup) and [Mac Geekery](http://www.macgeekery.com/tips/troubleshooting/cant_copy_and_paste))

- - - -

It is the link between this (`pbs`) demon process and some random application (TextMate in the above) which “goes dead”, so effectively TextMate is locked out of clipboard sharing.

Relaunching TextMate is normally not enough, since `pbs` will not see the new instance (it probably thinks it is still talking to the old instance), but relaunching `pbs` tend to work because then all links are recreated.

But really, you will have to talk to Apple to get the real details on how these things work, TextMate uses [NSPasteboard][] for all clipboard activity, which abstracts away these low-level details.

[NSPasteboard]: http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSPasteboard_Class/Reference/Reference.html

Retrieved from http://wiki.macromates.com/Troubleshooting/CantPaste
Page last modified on May 02, 2008, at 19:12 UTC