Often when using nomachine the functionality of the caps lock key will suddenly toggle. Usually it will revert back to normal after a while. But now I have a situation where it had not reverted back after a few days, nor after restarting my session. Does anyone know a way to fix this?
A colleague of mine found a solution to this. Running the following python code on the remote Linux/Un*x system fixed the problem: