https://bugs.winehq.org/show_bug.cgi?id=50536
Pau Coma Ramirez paucoma@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |paucoma@gmail.com
--- Comment #1 from Pau Coma Ramirez paucoma@gmail.com --- This is a Strange Bug, which I am experiencing too, although only when launched via the ubuntu launcher. I have documented my Behavior in Bug 50598. In my case launching the program directly from a terminal window normally works, its only when I use the launcher.
I have found that the following seems to have effect even when launching via the ubuntu launcher(i.e. .desktop shortcut). but I am not sure about its persistance.
----
Basically open a terminal window and within your defined prefix of wine for which you run notepad edit/add the registry key
[HKEY_LOCAL_MACHINE\Software\Wine\X11 Driver] "UsePrimarySelection"="1"
The following command should do the trick
``` WINEPREFIX=~/.wine32 wine reg add "HKLM\Software\Wine\X11 Driver" /v UsePrimarySelection /t REG_SZ /d 1 ```
Note: I am assuming that ~/.wine32 is the wine prefix your notepad++ runs in.
More documentation on that registry edit "hack" [here](https://askubuntu.com/a/1312004/258256) Although in my case it worked with HKLM, others have suggested HKCU. So, you may also want to add [HKEY_CURRENT_USER\Software\Wine\X11 Driver] "UsePrimarySelection"="1"