Re: copy/paste from X11 to OS X is no longer working
Re: copy/paste from X11 to OS X is no longer working
- Subject: Re: copy/paste from X11 to OS X is no longer working
- From: Lars-Johan Liman <email@hidden>
- Date: Thu, 16 Aug 2012 09:33:43 +0200
- Importance: high
email@hidden:
> I don't know what happened, but copy/paste (either using CMD-C or the
> menus) has, in the last few days, stopped working. I can copy from OS X
> apps to X11 apps, but not the other way around.
> ...
This is the normal case for me and has been so for years. I've never
been able to nail it down fully. It works for a bit, after starting X11,
but after a while it stops working in the X11->Aqua direction (why?!). I
live with it, painful as it is.
> ...
> I need this FAR too often to allow it to not work.... Is there a
> work-around?
(I did note your message about Tcl/Tk, but the following might be of use
to others.)
There is a cumbersome workaround when you really need it, and that is to
use a terminal window in X11 and run the command "pbcopy" (pasteboard
copy). It expects text on STDIN which it will put in the Aqua
pasteboard, and you can then just paste it in your Aqua environment, so:
1) Run "pbcopy" in the X11 terminal (e.g., xterm). It will seem to hang.
2) Copy from an X11 application.
3) Paste into the terminal window.
4) Typd ctrl-D to terminade the input.
(You have to do this twice if the text doesn't end with a newline.)
The text is now in Aqua's pasteboard.
5) Switch to Aqua.
6) Select the Mac application and input field you wish to paste into.
7) Use Cmd-V to paste.
Yes, cumbersome, but dependable.
pbcopy has a sibling: pbpaste. It does the obvious.
"man pbcopy" is your friend.
And yes, I stubmled upon this my mistyping a different command. :-)
Cheers,
/Lars-Johan Liman
#----------------------------------------------------------------------
# Lars-Johan Liman, M.Sc. ! E-mail: email@hidden
# Senior Systems Specialist ! Tel: +46 8 - 562 860 12
# Netnod Internet Exchange, Stockholm ! http://www.netnod.se/
#----------------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden