I have never had much luck using various techniques for getting clipboard contents back and forth between Apple's X11 and the normal Aqua OS X environment. I have tried various key commands, various X11 utilities like autocutsel, etc. and it just never seems to want to play nicely. Shouldn't be that hard - not sure what the problem is - but I suspect it has to do with the fact that I use a different window manager (Blackbox) inside X11, and I believe that Apple does not support copy/paste between Aqua and a 3rd party window manager running in X11. Either way, I find it to be a completely frustrating situation - having to do various kludges and workarounds just to copy/paste between the two environments.
Anyway, the following is not much better than other klduges and workarounds that I have found, except that it is at least reliable. What I do is use a recent tip for quickly creating notes via the terminal. I create an alias like this in my shell aliases file (mine is probably different than yours, so you will have to figure that out as it relates to your setup):
# simple note taking
alias note "echo `date +'%Y%m%d %H:%M - '` ${1} >> ~/Documents/notes.txt"
This allows me to quickly enter notes in the terminal like this:
note "enter note text here"So now the text is sitting in a text file in my documents directory. What I then do in Apple X11 is open a new Xterm window and enter this:
tail -f ~/Documents/notes.txt"I just leave that window open all the time. As I add stuff via notes/Aqua, the listing is updated dynamically in X11. So to copy and paste, I copy in Aqua, switch to terminal, paste as note, switch to X11, select the new text that has appeared in the Xterm window and center-click (your mouse may be different) to place the newly copied text into an Apple X11 window.
It shouldn't have to be this hard....
Mac OS X Hints
http://hints.macworld.com/article.php?story=20030515092523600