Timeline for How do I remap a key in macOS Sierra, e.g., Right Alt to Right Control?
Current License: CC BY-SA 4.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S May 25 at 0:02 | history | suggested | Peter Mortensen | CC BY-SA 4.0 |
Copy edited (e.g. ref. <https://en.wikipedia.org/wiki/MacOS> and <https://en.wikipedia.org/wiki/MacOS_Sonoma>). Used a more direct cross reference (as user names can change at any time).
|
| May 24 at 22:09 | review | Suggested edits | |||
| S May 25 at 0:02 | |||||
| Jan 24, 2024 at 9:09 | comment | added | tripleee |
After the latest Sonoma update (14.3) the previous launchctl script I had posted here would complain that it needs to be run as root; the precise message is Run as root to remap alphanumerics / special characters with UserKeyMapping. I have now updated this answer to install the script as a root-owned launch daemon instead.
|
|
| Jan 24, 2024 at 9:04 | history | edited | tripleee | CC BY-SA 4.0 |
Update for Sonoma 14.3; require root launch daemon
|
| Jan 6, 2024 at 11:21 | comment | added | tripleee |
In the last month or two I have found that this still works, but somehow not immediately after I restart my computer. It could be something with how I rigged it to run via launchd too; but just mentioning here in case somebody else runs into the same problem.
|
|
| Jan 5, 2024 at 17:59 | comment | added | Dave Griffiths | Excellent, spilt some tea on my keyboard and made the Esc key sticky - this is the perfect solution! | |
| Apr 16, 2021 at 11:04 | comment | added | tripleee |
I believe this should work with zsh too, but remain baffled that Apple switched to this wicked shell as the default for new users.
|
|
| Apr 16, 2021 at 11:01 | history | edited | tripleee | CC BY-SA 4.0 |
mkdir -p ~/Library/LaunchAgents in the launchd hook creation; use ~ over "$HOME" (was overtly paranoid about compatibility with obscure shells)
|
| Dec 3, 2019 at 5:14 | history | edited | tripleee | CC BY-SA 4.0 |
Unescaped single quote in printf
|
| Aug 12, 2019 at 5:38 | history | edited | tripleee | CC BY-SA 4.0 |
Explain the key looping script some more
|
| Apr 15, 2019 at 3:50 | history | edited | tripleee | CC BY-SA 4.0 |
Fix remaining reference ln login hook
|
| Apr 14, 2019 at 17:57 | comment | added | Philip Kearns | As an ardent vi/vim fan this is precisely what I was looking for. Thank you. | |
| Feb 27, 2019 at 6:58 | comment | added | tripleee |
An earlier version of this answer advocated using LoginHook but it wasn't working for me, and based on stackoverflow.com/a/22872222/874188 I switched to a launchd approach instead.
|
|
| Feb 27, 2019 at 6:57 | history | edited | tripleee | CC BY-SA 4.0 |
Switch from LoginHook to launchd
|
| Feb 15, 2019 at 19:37 | history | edited | tripleee | CC BY-SA 4.0 |
Typo
|
| Jan 23, 2019 at 11:43 | history | edited | tripleee | CC BY-SA 4.0 |
Making the change persistent
|
| Jan 23, 2019 at 11:34 | history | answered | tripleee | CC BY-SA 4.0 |