[Xquartz-dev] new xpbproxy

John Koren jpkoren at gmail.com
Thu Oct 16 03:10:20 PDT 2008


I should have added, that this problem occurs only at the beginning,
right after I start up X11.
As soon as I, issue cmd-v in the X11, the problem is gone and I can
continue copying text simply by highlighting in X11. If I do not issue
cmd-v in X11 at least one time before trying to paste into OSX
application, the problem occurs.

On Thu, Oct 16, 2008 at 2:52 AM, Peter Collinson <pc at hillside.co.uk> wrote:
> I cannot repeat this... it seems to work fine for me on my G4 or Intel
> boxes.
>
> Either selecting a region or selecting and using with Cmd-C in xterm
> allows me to Cmd-V it into textedit.
> The Cmd-C is not needed.
>
> This is great stuff - thanks Jeremy and George for this.
>
> On 16 Oct 2008, at 08:55, John Koren wrote:
>
>> Hi Jeremy
>>
>> Thanks for fixing item 2), which caused xpbproxy from not starting
>> correctly on my Powerbook G4.
>>
>> I still, however, have a strange problem.  I am trying to select  text
>> in rxvt or xterm and paste it to an OSX application (e.g., TextEdit).
>>
>> Let me first describe how I can get it to work correctly:
>>
>> 1) Copy text in xterm with cmd-c and paste in TextEdit with cmd-v.
>> 2) After that I can simply select text in xterm (without cmd-v) and
>> paste it TextEdit with cmd-v, which I think is the correct behavior.
>>
>> Now, if I skip step 1) described above and start with step 2, in which
>> text is simply highlighted, the problem occurs. I see the following
>> once I try to paste:
>>
>> 1) Pasting does not work.
>> 2) The X11 windows become difficult to move as dragging becomes very
>> spasmodic.
>> 3) The cpu associated with xpbproxy grows from 0% to 2.5% and never
>> subsides.
>> 4) X11 becomes unusable and I have to quit it.
>>
>> I hope my description is clear. This is a fully repeatable behavior.
>>
>> -John
>>
>> On Wed, Oct 15, 2008 at 2:23 PM, Jeremy Huddleston
>> <jeremyhu at apple.com> wrote:
>>> http://people.freedesktop.org/~jeremyhu/xpbproxy-20081015.bz2
>>>
>>> This is a slight bugfix and feature addition for xpbproxy.  Just
>>> download,
>>> decompress, and replace /usr/X11/bin/xpbproxy with this one (you need
>>> 2.3.2_beta1 first).
>>>
>>> Fixes/new features:
>>>
>>> 1) The "Update pasteboard immediately" option in the preferences
>>> pane is now
>>> implemented.  You can now automatically copy something when you
>>> select it.
>>> Note however that there is a small caveat to this.  We have *NO*
>>> way of
>>> knowing that you have selected new text in an application.  If you
>>> select
>>> some text in an app then select new text in that app and you're
>>> left with
>>> the original text in the pasteboard, there's absolutely nothing
>>> whatsoever
>>> that we can do to fix this.  Try prodding the developer of that
>>> application
>>> to re-acquire the PRIMARY buffer on selection even if they already
>>> have it.
>>> GTK, QT, and other toolkits do this already, but there may be some
>>> rogue
>>> apps out there.
>>>
>>> 2) CLIPBOARD->Pasteboard should now be working properly.  We were
>>> incorrectly detecting that a CLIPBOARD_MANAGER was already running
>>> (thus
>>> disabling this feature) when it really wasn't.  My bad.
>>>
>>> Known issues:
>>> * Some image conversion / unrecognized mime types may still exist.
>>> If you
>>> can't copy an image of a specific format from OSX to X11 or visa
>>> versa,
>>> please file a bug in our trac with the image attached.
>>> * nedit's copied text doesn't end up in the Pasteboard even though
>>> it can be
>>> pasted to other X11 apps from CLIPBOARD (workaround is cmd-c)
>>> * MULTIPLE not supported yet
>>> * CUT_BUFFER* not supported yet
>>>
>>> --Jeremy
>>>
>>>
>>> _______________________________________________
>>> Xquartz-dev mailing list
>>> Xquartz-dev at lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>>
>>>
>> _______________________________________________
>> Xquartz-dev mailing list
>> Xquartz-dev at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>>
>
> _______________________________________________
> Xquartz-dev mailing list
> Xquartz-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/xquartz-dev
>


More information about the Xquartz-dev mailing list