Can I copy/paste Python code?

Grant Edwards invalid at invalid.invalid
Wed Jul 22 16:49:01 EDT 2015


On 2015-07-22, Emile van Sebille <emile at fenx.com> wrote:
> On 7/21/2015 5:10 PM, Grant Edwards wrote:
>> On 2015-07-21, Emile van Sebille <emile at fenx.com> wrote:
>>> On 7/21/2015 2:47 PM, Grant Edwards wrote:
>
>>>>    1) You can't copy/paste text from evince _at_all_.
>>>
>>> Hmm, i just copied "Acorsa Artichoke Heart - Quarter, Water, Can" from a
>>> catalog pdf, so _at_all_ depends on something -- I couldn't copy text
>>> from scanned documents, but that's to be expected.
>>
>> Interesting. How do you do it?  For all other apps, all you have to do
>> is select the text and then center-click in the window where you want
>> the selected text inserted.
>
> Well, I select and right click copy then right click paste in where I 
> want it.  I never got into the center click options.

Ah!  I've narrowed down the problem with evince select/copy.  It works
fine as long as you do the paste on the same X11 display[1].  If you
try to do the paste on a different display, you get nothing.  None of
the other apps I've tried have this problem.  I've checked various X
terminals, xemacs, firefox, chrome, libreoffce, acroread, meld,
xfreerdp. 

[Yes, I can cut and paste from _Windows_ apps across displays but not
from evince].

I filed a bug against evince, but I don't know how common multiple
display setups are (as opposed to single display, multiple monitor
setups like you get with Xinerama).  So it may never get fixed (unless
I get ambitious).

[1] When I refer to a "display" in this context, I mean an X11 display
    (as in $DISPLAY) not a physical LCD/CRT monitor.

-- 
Grant Edwards               grant.b.edwards        Yow! I want to dress you
                                  at               up as TALLULAH BANKHEAD and
                              gmail.com            cover you with VASELINE and
                                                   WHEAT THINS ...



More information about the Python-list mailing list