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


Click here to return to the 'xclipboard resolves Aqua-X11 copy/paste barrier' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
xclipboard resolves Aqua-X11 copy/paste barrier
Authored by: n8gray on Oct 05, '04 02:15:50AM

I spend all day using Apple X11 and QuartzWM in rootless mode and I've never had too many problems with copy/paste between the two domains. I do have one persistent problem, though. I can't copy in Aqua and paste in Konsole. It just never works. I have to first paste into NEdit, which always works, then select in NEdit and middle-click in konsole.

Interestingly, I just tried this with xclipboard open and now I *can* paste into konsole! The x clipboard is updated when X11 gets focus and I can paste by right-clicking and selecting Paste. Middle-clicking to paste still doesn't work, however. It's a mystery to me, but it works...



[ Reply to This | # ]
CLIPBOARD vs SELECTION
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).

oilcan



[ Reply to This | # ]
CLIPBOARD vs SELECTION
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 | # ]