Re: copy/paste from X11 to OS X is no longer working
Re: copy/paste from X11 to OS X is no longer working
On Thu, Aug 16, 2012 at 12:34:50PM -0700, Jeremy Huddleston Sequoia wrote:
> On Aug 16, 2012, at 11:53, Jim Graham <email@hidden> wrote:
> >> /opt/X11 would be for XQuartz; for system X11, look under /usr/X11 instead.
> >
> > Nothing. I even did a "find . -name xpbproxy -print" from /usr and
> > didn't get any results. Before that, I checked in /usr/X11 and
> > /usr/X11/bin. It's not there.
>
> Yeah, I don't think it's shipped as standalone with the X11 provided by the OS.
So we're right back to the beginning, then, aren't we? Cut/past from X11
programs to OS X programs stops working after some time period for no
readily apparent reason. :-(
I guess I'll just keep using my short Tcl/Tk script that does the
cut/paste from X to OS X. IT works. :-) Here it is, if anyone is
interested. Note that it MUST be run from a version of Tcl/Tk that
is built for X11 (so you can paste into its entry widget):
--------------------------- CUT HERE ---------------------------
#!/opt/local/bin/wish8.5
proc setsel {} {
global sel
clipboard clear
clipboard append $sel
tk_messageBox -type ok -message "Copied \"$sel\" to OS X Pasteboard"
set sel ""
}
set sel ""
wm title . "X11 to OS X Copy"
label .status -text "Paste here:"
entry .getsel -textvariable sel
button .get -text "Copy to OS X" -command { setsel }
button .exit -text "Exit" -command { exit 0 }
pack .status .getsel .get .exit -side top -expand y -fill x
--------------------------- CUT HERE ---------------------------
If you don't want the notification popup when it pastes the text, just
comment out the tk_messageBox line.
Later,
--jim
--
THE SCORE: ME: 2 CANCER: 0
73 DE N5IAL (/4) MiSTie #49997 < Running Mac OS X Lion >
email@hidden ICBM/Hurricane: 30.44406N 86.59909W
Do not look into waveguide with remaining eye.
Android Apps Listing at http://www.jstrack.org/barcodes.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden