On 06/17/13 10:10, Peter Lieven wrote: > Hi Gerd, > > just looking at your patch. It works fine so far, but I am curious how > to handle the lock keys? I have the problem that if I press caps lock > and then create a new vnc session with exclusive access (from another > terminal), the caps lock is still there.
There is some logic for that in the vnc server, next time you press a letter key it should get synced up. capslock+numlock can actually easier go out of sync than the other modifiers, you don't need a reconnect to trigger that: Activate some other window so the vnc client window so it hasn't the keyboard focus, press capslock or numlock, move focus back to the vnc window. HTH, Gerd