Problem with F13 F14 F15 keys on Mac using PC keyboard

This a known an old issue with teamviewer. It doesn’t mind keyboard or os system. And it seems that the teamviwer developers don’t care much either. Switch to anydesk.

I don’t know if you ever made any headway with this @PlaceYourBetts but I ran up it again when making the switch to NiceDCV and I wanted to let you know how I solved it–at least on Rocky 9.3.

In the end I edited /usr/share/X11/xkb/symbols/inet

and in the section that starts with:

// Evdev Standardized Keycodes
partial alphanumeric_keys
xkb_symbols "evdev" {
...

Search down until you find the bindings for FK13, 14 and 15 which should look something like this:

    key <FK13>   {      [ XF86Tools         ]       };
    key <FK14>   {      [ XF86Launch5       ]       };
    key <FK15>   {      [ XF86Launch6       ]       };

and adjust them to:

    key <FK13>   {      [ F13               ]       };
    key <FK14>   {      [ F14               ]       };
    key <FK15>   {      [ F15               ]       };

Reboot and you’re off to the races. In the end no other combination of xmodmap or anything else was persistent. Flame would start and knock it out. This is working for 105 key KB on a Mac connecting to a linux host.

Edit: I realized that the initial discussion was Mac client to Mac host so this info is now here for others folks who want Mac clients to hotkey good with Linux hosts.

3 Likes

This is why we use Ubuntu for all our Teradici/DCV end points. It is kind of easy to just disable all local hotkeys on the Ubuntu machine, then the Flame works great without having to attached the keyboard to the remote machine.

For sure man. It definitely was much easier config-wise running Linux clients, but infinitely better workflow wise to be running the client on a Mac—at least for me and I’m guessing some others.

Since there’s no keyboard connected to my Linux hosts either, these mappings needed to be in place to reflect the F13,14 and 15 keys as actual function keys on the virtual keyboard that is injected into X (so that those keys behave as they should as opposed to the meaningless mappings the default virtual keyboard had previously).

Totally agree though that Linux to Linux makes this all much easier though.

Has anyone been able to get a keyboard connected to a Mac to work with NiceDCV that’s running on a Linux Host (Rocky 8.7)? I’ve tried Noellert’s example above and it gets me halfway there. We have to modify the Keyboard Shortcuts in Flame to make F13-F15 work. We can live with that, but it’s not ideal. Of course our Ubuntu boxes worked perfectly, but all of our freelancers are on Macs.

I’ve been meaning to revisit. But honestly haven’t had a minute.

Reach out to Karsten Gaier at ni-sp perhaps. He was incredibly helpful.

1 Like

there used to be a hack where you could run ubuntu in a VM on a mac using vmware but I think broadcom nixed it.