How to fix log toggle nightcaps
1 answer
A colleague of mine found a solution. Running the following python code on a remote Linux / Un * x system fixed the issue:
from ctypes import *
X11 = cdll.LoadLibrary("libX11.so.6")
display = X11.XOpenDisplay(None)
X11.XkbLockModifiers(display, c_uint(0x0100), c_uint(2), c_uint(2))
X11.XCloseDisplay(display)
+11
source to share