1

I am running VcXsrv with the following command

"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -xkblayout us,ru -xkboptions grp:ctrl_shift_toggle

in this case I am able to switch languages by

Ctrl+Shift

combination but unable to send combinations like

Ctrl+Shift+F

in programs like PyCharm. If I run VcXsrv with

"C:\Program Files\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl -xkblayout us,ru

then opposite happens: I can't switch languages, but can sent

Ctrl+Shift+F

combination.

Can I do both?

Art Gertner
  • 7,429
Dims
  • 13,414

1 Answers1

0

Last time I've investigated it it was a long standing problem coming from X Window specification. IIRC, the specification states that switch must happen on key press (instead of key release which is what MS Windows always did). For this reason, X.Org maintainers refused to accept patches which fix this behavior. Probably some distributions applied the patches, but not the upstream.

As a workaround, use a combination which is not used in shortcuts. Shift+Caps, Alt+Caps, Both Shift, Both Ctrl, Both Alt should work. See https://unix.stackexchange.com/a/45499/153754 for a list.