Obviously if you ended up with some other key than 0x700000064 you need to change that in the script, or in the file ~/bin/userkeymapping it ends up creating if you already ran the above. Launchctl load ~/Library/LaunchAgents/ist hidutil property -set ''''' \Ĭat~/Library/LaunchAgents/ist Apple officially introduced macOS Sierra to the world back in June as part of the opening keynote of this year’s Worldwide Developers Conference.
Running the following command will remap Right Alt to be Right Control. Apple has just made final macOS Sierra 10.12 download available to all after months of developer and public testing, meaning that compatible Mac owners can get their hands on it right now. Apple's Technical Note TN2450 describes how to remap keys.