Skip to content

Instantly share code, notes, and snippets.

@apfelchips
Created April 21, 2025 19:18
Show Gist options
  • Save apfelchips/da1eed8d74aabd8caee9ce2968de6ed9 to your computer and use it in GitHub Desktop.
Save apfelchips/da1eed8d74aabd8caee9ce2968de6ed9 to your computer and use it in GitHub Desktop.
macOS US layout fix tick location on ISO Keyboards + Capslock --> LCtrl
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnvironmentVariables</key>
<dict>
<key>__Comment</key>
<string>Remap CapsLock with LCtrl and swap § with tick quote on ISO keyboards - https://apple.stackexchange.com/a/374074</string>
<key>__Install_Location</key>
<string>/Library/LaunchDaemons/ / owner: root group: wheel</string>
</dict>
<key>Label</key>
<string>local.job</string>
<key>ProgramArguments</key>
<array>
<string>hidutil</string>
<string>property</string>
<string>--set</string>
<string>{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x7000000E0},{"HIDKeyboardModifierMappingSrc":0x700000035,"HIDKeyboardModifierMappingDst":0x700000064},{"HIDKeyboardModifierMappingSrc":0x700000064,"HIDKeyboardModifierMappingDst":0x700000035}]}</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartInterval</key>
<integer>600</integer>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment