lan-mouse icon indicating copy to clipboard operation
lan-mouse copied to clipboard

Karabiner interferes with lan-mouse

Open Richie765 opened this issue 2 months ago • 3 comments

When using my Mac keyboard and mouse to control a remote Linux machine, I’ve noticed that my local keyboard modifications (via Karabiner-Elements) are being applied to the remote session. I have several key remappings that are convenient for my Mac workflow but conflict with the keybindings in my Linux environment.

Similarly, I use Fluor, which changes the behavior of function keys based on the active application. Unfortunately, these modified keycodes are also being sent to the remote Linux machine, leading to unexpected results.

Is it possible to capture and transmit the raw, unmodified keycodes—bypassing Karabiner-Elements or Fluor—when forwarding input to the Linux machine?

Richie765 avatar Nov 13 '25 14:11 Richie765

Not sure if this is possible. But could you try starting lan-mouse before Karabiner?

feschber avatar Nov 13 '25 15:11 feschber

Related: #320

feschber avatar Nov 15 '25 09:11 feschber

Not sure if this is possible. But could you try starting lan-mouse before Karabiner?

I tried that and it doesn't solve the problem.

A possible solution could be if Karabiner profile could be changed automatically when the mouse moves to the other computer. I think this is possible if lan-mouse allows to execute an external command. Anyways for now I am connecting kbd/mouse directly as this seems to be the only way for now. Thanks anyway!

Richie765 avatar Nov 15 '25 10:11 Richie765