Hi,

try setting the encoding of pharo to unicode when launching from command
line and see if that fixes your problem:
--textenc UTF-8

The default encoding is not unicode which messes pasting from some
applications (e.g. Google Chrome 35+).
As far as middle mouse button pasting goes I do not believe Pharo supports
it - at least I haven't found any code related to it (although I would love
to have this functionality).

Peter

On Tue, Jan 20, 2015 at 2:58 PM, Pieter Nagel <[email protected]> wrote:

> Our team is very frustrated with figuring out how copy & paste is supposed
> to work in Pharo 3 under X11.
>
> Maybe there's something we misunderstand, or can configure?
>
> We can't copy and paste text directly from other X11 apps into Pharo. We
> need to first paste the text into text editors like GEdit or XEmacs, and
> then we can copy and paste the text from there into Pharo.
>
> I think this has something to do with X11's complicated model of primary
> vs. clipboard selection. The primary selection is typically created by
> just highlighting some text, and then (by common convention) can be pasted
> from by just pressing the middle mouse button. The clipboard selection is
> typically created by explicitly using Copy or Cut commands.
>
> Strange thing is, if we start with text in (for example) Google Chrome,
> then neither type of selection can be pasted into Pharo. If we start with
> text in (for example) GEdit, then both types of selection can be pasted
> into Pharo.
>
> We're using Unity under Ubuntu 12.04, if that makes a difference.
>
> Advice?
>
> Thanks.
>
>
>

Reply via email to