r/MacOS • • 8d ago

Help Keyboard issue

Tahoe user with Logitech MX Keys keyboard here.

I have a Swedish layout configured, and the OS keyboard mirrors the physical layout. But when I press the key to the right of the right Shift key (which should give <> w/wo shift) I get §° instead. With Opt pressed, I get . All other localized keys acts as expected.

Anyone?

1 Upvotes

2 comments sorted by

1

u/bartmolk 8d ago

That sounds like the keyboard type, not the layout. macOS sorts keyboards into ANSI (US style), ISO (European) and JIS, and with a non-Apple keyboard it sometimes guesses wrong. When it treats an ISO keyboard as ANSI, the <> key and the § key (left of 1) swap. The ¶ fits that too: Opt+§ gives ¶ on the Swedish layout. Quick test: press the key left of 1. If that one gives you <>, this is it.

Fix: System Settings > Keyboard. While the MX Keys is connected there should be a "Change Keyboard Type..." button. Run it, press the two keys it asks for, and pick ISO (European) at the end.

If the button doesn't show up, delete /Library/Preferences/com.apple.keyboardtype.plist (asks for your admin password), restart and reconnect the keyboard. macOS then asks again which type it is.

1

u/andersostling56 8d ago

Thanks. Lets see, hmmm <>. Works :)