X Error of failed request: BadValue (integer parameter out of range for operation)
Thanks for this brilliant solution!
I am getting the following issue when trying to start it on Ubuntu 18 with KDE.
$ s2cctl start 130 ↵
Starting Space2Ctrl...
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 118 (X_SetModifierMapping)
Value in failed request: 0x17
Serial number of failed request: 11
Current serial number in output stream: 11
Space2Ctrl is now active (logfile: /home/vspinu/.Space2Ctrl.log)
After this the space does work after the release only (as expected), but it does not work as CTRL.
Any ideas of what I could try modify in the code to fix this? Thanks!
Also my Right CTRL stops working. Need to reset the keyboard to get it back.
+1 - any help wrt. fixing this? Able to replicate this on Fedora 35 workstation distro
+1 - any help wrt. fixing this? Able to replicate this on Fedora 35 workstation distro
This seems like an issue with some xmodmap command in the file "s2cctl". I would start by trying to run each xmodmap command manually and see which one gives the issue, then find a fix that works for your system.