Is their a way to turn off caps lock on remote computer

Options
sfox1530
sfox1530 Posts: 2 ✭✭

Is their a way to turn off caps lock on remote computer

Answers

  • JeanK
    JeanK Posts: 6,997 Community Manager 🌍
    Options

    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.

    /JeanK

    Community Manager

  • LuptonA
    LuptonA Posts: 2
    Options

    This doesn't work. I'm connected to the remote host and caps lock is on. No key sequence fixes it. :(

  • Martin120
    Martin120 Posts: 3 ✭✭
    Options

    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

      keybd_event(VK_CAPITAL,

        0x45,

        0x3,

        0);

    }


    and run that on the remote. It toggles the caps_lock key.

    for obvious reasons I'm not allowed to upload that program.

  • Martin120
    Martin120 Posts: 3 ✭✭
    Options

    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.

  • JeanK
    JeanK Posts: 6,997 Community Manager 🌍
    Options

    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

    Community Manager