LyX under WSL2 using VcXsrv (sharing clipboard problems)

Scott Kostyshak skostysh at lyx.org
Sat Nov 28 15:38:44 UTC 2020


On Sat, Nov 28, 2020 at 09:55:53AM -0500, Richard Kimberly Heck wrote:
> On 11/27/20 2:47 PM, Cris Fuhrman wrote:
> > Hello, 
> >
> > 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.

I don't know if it's relevant, but does LyX work with Wayland's
clipboard? And if it does, is it because there is a compatibility layer?

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201128/8849f740/attachment.asc>


More information about the lyx-users mailing list