Is their a way to turn off caps lock on remote computer
that is not (answering) the problem. sfox has a/the problem where remote and local are not in sync as far as keyboard state is concerned.
I gave above the solutions for remote Linux and Windows. Would be nice if you shared that with all those that have asked the same question over the previous years and never got a helpfull answer.
Thank you so much, @Martin120, for sharing your knowledge around this topic. 🙏
I think I had misunderstood sfox's question, but you absolutely nailed it.
I'll make sure to look for similar threads and share if needed.
/JeanK
Hello @sfox1530,
Congrats on your first post!
TeamViewer will always reproduce on the remote computer what you are doing on your local computer.
Therefore, if you don't want the caps lock enabled on the remote computer, you need to disable it on your local computer.
Let me know if this could help.
This doesn't work. I'm connected to the remote host and caps lock is on. No key sequence fixes it. :(
yes there is.
on remote linux run: xdotool key Caps_Lock
on windows make /create program to do the same. get Visual Studio and compile below program to exe:
#include "pch.h"
using namespace winrt;
using namespace Windows::Foundation;
#include <windows.h>
void main()
{
// Simulate a key press
keybd_event(VK_CAPITAL,
0x45,
0x1,
0);
// Simulate a key release
0x3,
}
and run that on the remote. It toggles the caps_lock key.
for obvious reasons I'm not allowed to upload that program.