LyX under WSL2 using VcXsrv (sharing clipboard problems)
Cris Fuhrman
fuhrmanator at gmail.com
Fri Nov 27 19:47:34 UTC 2020
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?
Here's the build info:
LyX 2.3.5.2 (2020-06-25)
Configuration
Host type: x86_64-pc-linux-gnu
Special build flags: build=release std-regex use-hunspell use-aspell
use-enchant
Bundled libraries: (none)
C++ Compiler: g++ (7.5.0)
C++ Compiler flags: -fPIC -O2 -std=c++14
C++ Compiler user flags: -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++14 -g
-O2 -fdebug-prefix-map
=/build/lyx-aqV8hd/lyx-2.3.5.2=. -fstack-protector-strong -Wformat
-Werror=format-security
Linker flags:
Linker user flags: -Wl,-z,defs -Wl,--as-needed
-Wl,-Bsymbolic-functions -Wl,-z,relro
Qt Frontend:
Qt version: 5.9.5
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx
Regards,
C. Fuhrman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20201127/f25a27ad/attachment.html>
More information about the lyx-users
mailing list