LyX under WSL2 using VcXsrv (sharing clipboard problems)

2020-11-27 Thread Cris Fuhrman
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
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: cursor difficult to see

2020-11-27 Thread Wolfgang Engelmann



Am 27.11.20 um 10:47 schrieb Jean-Marc Lasgouttes:

Le 27/11/2020 à 10:20, Axel Dessecker a écrit :

Am Freitag, 27. November 2020, 09:33:20 CET schrieb Wolfgang Engelmann:

How can I make the cursor of the mouse show up better in my LyX
document? e.g. thicker or another colour?
Wolfgang


See Tools -> Edit -> Control -> Cursor thickness (pixels). But I don't 
know

anything about making it more colourful.


Note that "0" means "grow with zoom". This will be the default in 2.4 
and the cursor will grow with font size, actually.


For the color, go to Tools>Look>Colors and select color for "cursor".

JMarc
JMarc, thanks for your information. Now I know how to change it. It was 
a bit tricky to find it in the settings.


Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: cursor difficult to see

2020-11-27 Thread Jean-Marc Lasgouttes

Le 27/11/2020 à 10:20, Axel Dessecker a écrit :

Am Freitag, 27. November 2020, 09:33:20 CET schrieb Wolfgang Engelmann:

How can I make the cursor of the mouse show up better in my LyX
document? e.g. thicker or another colour?
Wolfgang


See Tools -> Edit -> Control -> Cursor thickness (pixels). But I don't know
anything about making it more colourful.


Note that "0" means "grow with zoom". This will be the default in 2.4 
and the cursor will grow with font size, actually.


For the color, go to Tools>Look>Colors and select color for "cursor".

JMarc
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: cursor difficult to see

2020-11-27 Thread Wolfgang Engelmann




Am 27.11.20 um 10:20 schrieb Axel Dessecker:

Am Freitag, 27. November 2020, 09:33:20 CET schrieb Wolfgang Engelmann:

How can I make the cursor of the mouse show up better in my LyX
document? e.g. thicker or another colour?
Wolfgang


Wolfgang,

See Tools -> Edit -> Control -> Cursor thickness (pixels). But I don't know
anything about making it more colourful.

Axel





Thanks, Axel,
however:
Tools>Preferences>Editing>Control
does not show here Cursor Thickness(Pixels)

Tools>Preferences>Editing>Keyboard/Mouse
is for setting the speed
??

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: cursor difficult to see

2020-11-27 Thread Axel Dessecker
Am Freitag, 27. November 2020, 09:33:20 CET schrieb Wolfgang Engelmann:
> How can I make the cursor of the mouse show up better in my LyX
> document? e.g. thicker or another colour?
> Wolfgang

Wolfgang,

See Tools -> Edit -> Control -> Cursor thickness (pixels). But I don't know 
anything about making it more colourful.

Axel




-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


cursor difficult to see

2020-11-27 Thread Wolfgang Engelmann
How can I make the cursor of the mouse show up better in my LyX 
document? e.g. thicker or another colour?

Wolfgang
--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users