Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: copy and paste between Aqua and X11 applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copy and paste between Aqua and X11 applications?



For me, middle mouse button makes the screen go dim and activates the Dashboard (annoying since I never use Dashboard). Option-Click does not paste for me.
xev reports it as a KeyPress with a keycode of 66 and keysym of 0xff7e, mode_switch.


You are right about it not Cmd-V not copying the text if you deselect it after Cmd-C. That just seems wrong. It's acting like Cmd-C just tells the Mac that X11 "owns" the clipboard selection, but doesn't actually copy it until another app does Ctrl-V. At that point, it asks X11 what the selection is and there isn't one any more.

Apple's X11 also seems to its copy/paste to and from the Mac clipboard on the X11 PRIMARY selection rather than the CLIPBOARD property of the root window, which I think is how most modern X apps do it (I may be mistaken though, it's been a while since I worked on that sort of thing).

Rich Cook wrote:
To paste text into X11, use the middle mouse button (or option-click).
Copying from x11 to Mac apps works fine for me, unless I am pasting DESELECTED text from an xterm in X11 *exactly as described*, which it doesn't sound like you're doing.



On Aug 9, 2007, at 12:36 PM, Dave Williss wrote:

I too can copy from an X11 app (one of our own) and paste to a Mac app (tested using Terminal).

I wasn't running anything in X11 at the moment, so I shut it down and restarted. Worked fine.

I *can't* however copy from another app and use Cmd-V to paste into an X11 app. It just beeps at me if I try, and the Paste item on the Edit menu is disabled. The only things on the Edit menu which are enabled are Copy and Special Characters, the later of which pops up the character pallette but trying to Insert doesn't do anything. I would expect at least some kind of X event, but xev doesn't report anything.

This is with X11 1.1.3 running Mac OS 10.4.9 on an Intel Core Duo.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

--✐The primary task of most software projects is to discover and resolve these unknowns rather than to build a system. -- Philip G. Armour
--Richard Cook
βœ‡ Lawrence Livermore National Laboratory
Bldg-453 Rm-4037, Mail Stop L-557
7000 East Avenue, Livermore, CA, 94550, USA
☎ (office) (925) 423-9605
☎ (fax) (925) 423-6961
---
Information Management & Graphics Grp., Services & Development Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)




_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list      (email@hidden)
This email sent to email@hidden


References: 
 >Re: copy and paste between Aqua and X11 applications? (From: Vernon Williams <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Vincent Lefevre <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Rich Cook <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Ben Eisenbraun <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Jonas Maebe <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Adam D. I. Kramer" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: "Mark E. Perkins" <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Dave Williss <email@hidden>)
 >Re: copy and paste between Aqua and X11 applications? (From: Rich Cook <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.