https://forum.world.st/Pharo-and-X11-primary-selection-aka-middle-mouse-button-paste-tp4800635p4801440.html
Please add an issue.
We are concerned about shortcut management.
We hope that the SDL layer will help us simplifying this problem.
> Hi,
>
> there are several things at play here as far as I was able to find out.
>
> I was researching this issue when I was frustrated with pasting from
> Chrome and was able to figure at out at least a temporarily solution.
> Here's my original post
>
http://forum.world.st/Re-Copy-past-doesn-t-work-sometimes-in-Chrome-semifixed-td4784604.html> I also opened an issue today, however I'm not familiar with VM so I
> cannot conclusively say what is correct.
>
https://pharo.fogbugz.com/f/cases/14759/Linux-X11-VM-default-encoding-should-be-unicode
>
>
> As far as middle mouse pasting goes there are two sides of it:
> 1. Does Pharo VM (C-side) support it?
> 2. Does Pharo (Smalltalk-side) support it?
>
> I believe the answer to the first one is yes, the code does make
> mentions of primary selection, however the code is quite complex for
> me (my investigation was pretty much trial & error)...
>
https://github.com/pharo-project/pharo-vm/blob/master/platforms/unix/vm-display-X11/sqUnixX11.c>
> However the answer to second one is probably not, at least I was not
> able to find any bindings between middle mouse button and pasting -
> but again, I'm not familiar with Pharo internals.
> I could open an issue for this also, however considering the code is
> quite old (years) and nobody fixed it yet, nobody seems to be really
> bothered by it. I for example prefer ctrl+c clipboard selection over
> middle mouse primary selection, but if you have the knowledge to fix
> this (which I don't have), then feel free. :)
>
> Peter