Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'CLIPBOARD vs SELECTION' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: oilcan on Oct 05, '04 04:43:43PM

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 synchronize 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).


[ Reply to This | # ]
Authored by: n8gray on Oct 05, '04 05:33:23PM

I can understand that, but originally I also couldn't Paste into Konsole using the Paste item of the right-click context menu, which should have used CLIPBOARD. Xclipboard fixes that, but I don't know why it didn't work originally.

In any case, thanks for the info.

[ Reply to This | # ]