LyX under WSL2 using VcXsrv (sharing clipboard problems)
Richard Kimberly Heck
rikiheck at lyx.org
Sat Nov 28 14:55:53 UTC 2020
On 11/27/20 2:47 PM, Cris Fuhrman wrote:
> I recently started using LyX on my Windows 10 via WSL2 (Ubuntu) with
> VcXsrv. The application is snappy and I like configuring the
> supporting tools in linux (especially the tex configurations).
> Sadly, I can't get the clipboard to work consistently outside of X.
> For example:
> 1. In Windows, start the VcXsrv
> 2. In WSL2, start LyX, create New file
> 3. In Windows, copy some text (e.g., from Notepad++)
> 4. In LyX paste (this works)
> 5. In LyX, change the text, then Copy
> 6. In Notepad++, paste (no effect). Windows-V (to show the clipboard
> history) shows no trace of the newly copied text from LyX.
> 7. Try steps 2-4 again and it no longer works, implying something
> "breaks" the Xserver in those steps.
> I'm able to do copy/paste with other applications such as xfe (file
> explorer) and gedit (text editor), so I know my XServer
> can work properly (at least sometimes).
> Is there some option I need to configure in LyX to get it to use the
> proper clipboard that can be shared outside (assuming that is how it's
> working with xfe and gedit), or is this a bug?
I guess it's a bug, but I'm not sure we ever considered this kind of
setup. (Apparently, what's on the X clipboard is not appearing on the
Windows one. Does that work with other Linux apps?) I'd suggest you
either file it on trac or raise it on the devel list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lyx-users