• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: copy/paste from X11 to OS X is no longer working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: Jim Graham <email@hidden>
  • Date: Thu, 16 Aug 2012 14:51:35 -0500
  • Mail-followup-to: Jim Graham <email@hidden>, Jeremy Huddleston Sequoia <email@hidden>, Brandon Allbery <email@hidden>, "email@hidden List" <email@hidden>

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

  • Follow-Ups:
    • Re: copy/paste from X11 to OS X is no longer working
      • From: Jeremy Huddleston Sequoia <email@hidden>
References: 
 >copy/paste from X11 to OS X is no longer working (From: Jim Graham <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Brandon Allbery <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jeremy Huddleston Sequoia <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jim Graham <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jeremy Huddleston Sequoia <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jim Graham <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Brandon Allbery <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jim Graham <email@hidden>)
 >Re: copy/paste from X11 to OS X is no longer working (From: Jeremy Huddleston Sequoia <email@hidden>)

  • Prev by Date: Re: copy/paste from X11 to OS X is no longer working
  • Next by Date: Re: copy/paste from X11 to OS X is no longer working
  • Previous by thread: Re: copy/paste from X11 to OS X is no longer working
  • Next by thread: Re: copy/paste from X11 to OS X is no longer working
  • Index(es):
    • Date
    • Thread