News for hackers. Stuff that matters.
Re:macOS command-line tools you might not know about by maratc on Tuesday June 27, 2023 @09:27AM (#36492415)

    hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}'
Remaps top left key on Euro-style keyboards from useless "paragraph" to useful "backtick".
Re:macOS command-line tools you might not know about by kevans91 on Tuesday June 27, 2023 @11:34AM (#36494367)
Yes, this is great... I was given a Macbook with a Norweigan keyboard for testing a port of FreeBSD on it, and I quickly discovered that the keyboard layout remapping stuff available via the UI won't remap at least this one key to what I'd find on my US keyboard.