Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy and paste between Aqua and X11 applications?



On Jul 15, 2007, at 5:03 PM, Adam D. I. Kramer wrote:

> In dealing with a problem, and in reading the archives, I came  
> across this thread from 2004, discussing how when you select text in an 
> xterm (or any x11 window), then copy it with Edit -> Copy or command-C,  
> it doesn't always move to the clipboard for pasting into other 
> applications (e.g., Safari, or MSWord).

In order to copy/paste, I start xclipboard to transfer from the Mac clipboard to one of the X11 clipboards.  More info at
<http://www.macosxhints.com/article.php?story=20040928100753482>

Also useful is a comment to that article: CLIPBOARD vs SELECTION
"By: oilcan on Tue, Oct 5 '04 at 4:43PM PDT
This is because in X there are two independent methods of copy/paste, which can be referred to as using either the CLIPBOARD or the SELECTION. Using quartz-wm --only-proxy synchronizes the OS X clipboard with the X CLIPBOARD. The data located there may be pasted by an X application using the paste command (typically ctrl-v). Using the copy command in an X application (typically ctrl-c) also copies the desired data into the CLIPBOARD. When data is selected in X it is preserved in the SELECTION (any may also be copied into the CLIPBOARD using ctrl-c). Whatever is in the SELECTION may be pasted using the middle-mouse button. The middle-mouse button only pastes what is in SELECTION and not what is in the CLIPBOARD. This is why when you copy something into the OS X clipboard you cannot ordinarily paste it into an X application using the middle mouse button. Most desktop environments in X (eg KDE or Gnome) and some window managers (but not quartz-wm) will allow you to also synchro!
 nize the SELECTION and CLIPBOARD, allowing you to use the middle mouse button to paste what is in the CLIPBOARD (or use ctrl-v to paste the SELECTION).

oilcan"

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/x11-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.