Re: copy and paste between Aqua and X11 applications?
Re: copy and paste between Aqua and X11 applications?
- Subject: Re: copy and paste between Aqua and X11 applications?
- From: Bill Campbell <email@hidden>
- Date: Sat, 11 Aug 2007 14:02:38 -0700
- Mail-followup-to: email@hidden
On Sat, Aug 11, 2007, Adam D. I. Kramer wrote:
>
>On Sat, 11 Aug 2007, Bill Campbell wrote:
>
>>Another data point on the problem pasting into xterms using the middle
>>mouse button.
>>
>>When I use Cmd-Tab to switch from Firefox to x11, the middle mouse button
>>retrieves that last thing I used Cmd-C to copy from Firefox even though
>>I've done multiple copies in x11, highlighting with the left button, and
>>copying with the middle.
>>
>>I have been able to do this consistently indicating something in the Cmd-
>>Tab process is replacing the contents of the (a) x11 paste buffer when
>>switching back to x11 from non-x11 applications.
>
>When attempting to replicate this, I find that hwen command-tabbing (or
>clicking) back into X11, anything selected in X11 is also deselected.
>
>This behavior is probably constructed to ensure that X11 always has the aqua
>clipboard.
>
>The logic seems to be that when you switch from an Aqua app to an X11 app,
>X11's clipboard is filled with the Aqua clipboard, in order to ensure that
>it has the Aqua clipboard...even if the Aqua clipboard was filled prior to
>the last switching into X11.
>
>A good solution would be for X11 to check when the clipboard was
>filled...and if X11 has been the front app since then, to not fill the X11
>clipboard with the Aqua clipboard when switching from an Aqua app to X11.
>
>Another solution would be to tie the X11 clipboard to the Aqua
>clipboard...so the Aqua clipboard would be filled with X11 goodness on a
>select in X11, instead of requiring the user to press command-C. I can see
>the appeal of two clipboards (one within X11 and one within Aqua), but the
>notion of storing the Aqua clipboard while still clicking and pasting around
>in X11 does seem kind of inelegant...and the "select is copy when you're in
>X11" rule is very likely intuitive for those who use X11 a fair amount; new
>users of X11 who do so under Mac OSX would probably figure it out pretty
>quickly anyway.
>
>Note that this second solution would also solve the
>copying-from-X11-when-copied-text-is-deselected problem...because the X11
>and Aqua clipboards would be merged.
I like this second solution as it's simple and intuitive. Having multiple
clipboards, while they might occassionally be useful, seems to violate the
general OS X philosophy of elegant simplicity.
Of course I may be prejudiced, having used X11 for about a decade before I
first started using OS X, and still spend the vast majority of my time in
xterms on OS X.
Bill
--
INTERNET: email@hidden Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way
FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676
Democracy must be sometihng more than two wolves and a sheep voting on what
to have for dinner -- James Bovard
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden