I have remapped CapsLock to act as an additional Ctrl key with the Gnome Tweak Tool. However, when I try to use CapsLock in programs that I run via wine (notepad & pdf-xchange), it just prints the letter that I am pressing in addition to the Ctrl key (i.e Ctrl-s print "s" instead of saving the document). When CapsLock is not mapped to control, it works as normal in wine, toggling the case of all characters.
I tried remapping Alt to Ctrl using the Gnome tweak tool and this worked fine in wine notepad. I also tried remapping CapsLock to Esc and Backspace, and both those mappings worked as well, so the issue seems to be specifically with remapping CapsLock to Ctrl in wine (or potentially to any modifier key, there was no option for me to remap CapsLock to Alt in the Gnome Tweak tool, so I did not test that).
Is there any workaround to get CapsLock to work as Ctrl in wine programs?
I am using wine 1.9.12 on Antergos Linux (and Arch derivative) with kernel 4.6.2.1.
Wine ignores mapping of CapsLock to Ctrl in GnomeTweakTool
Re: Wine ignores mapping of CapsLock to Ctrl in GnomeTweakTo
@cheflo,
Why not have a crack with using Arch Wiki: Xbindkeys ... Wine does tend to use standard libraries and may be simply bypassing any Gnome key overrides - you've specified.
Bob
Why not have a crack with using Arch Wiki: Xbindkeys ... Wine does tend to use standard libraries and may be simply bypassing any Gnome key overrides - you've specified.
Bob