![]() Also ensure that you don’t have any “simple modifications” set in Karabiner Elements that would be trapping the Caps Lock key. Note that if you use multiple keyboards (like the internal laptop one and an external Bluetooth one), that screen will have a dropdown where you’ll need to set this for each available keyboard. If you have issues, be sure to check that in System Preferences->Keyboard->Modifier Keys you’ve disabled Caps Lock (set it to No Action). Then hitting Caps Lock with no other key should still allow it to function as normal. Note that you should be able to modify the Escape part of the key to maintain Caps Lock functionality by changing to “to_when_alone” value in the JSON to “caps_lock”. Hitting Caps Lock once should give you ⎋ (Escape). Holding down Caps Lock and hitting a key should give you the result ⌘⇧⌥⌃X. You can test by going into any app that lets you assign keyboard shortcuts, such as BetterTouchTool, and adding or editing one. Karabiner Elements should immediately detect the change and your Hyper Key should start working. If you do have other settings, you’ll need to follow different directions, so skip to the next part. This question is however specifically about Karabiner. Simple Modifications beyond one that, say, maps caps lock to something for Hammerspoon…), you can overwrite the contents of the karabiner.json with the code below. I think I found out Karabiner from that link also. ![]() ![]() If you don’t have any other settings in Karabiner (e.g. It has no significant changes from the default other than the Hyper Key functionality. Below is a complete version of my config file. The file is JSON, and breaking the formatting will cause Karabiner failure, so be sure to do any editing with care. The options required for this are not available yet in the GUI, so they have to be added into this hidden config file. Once it’s running, there’s a configuration file at ~/.config/karabiner/karabiner.json that you can edit. Open Karabiner Elements and go to the Misc tab, you can check your version and update if needed by clicking the “Check for beta updates” button. If you don’t already have Karabiner Elements installed, grab the latest version at /latest/karabiner-elements-latest.dmg. The first thing you need is Karabiner Elements, and you need what is currently the bleeding edge version, 0.91.3. I included a snippet of a config file that has apparently led to some confusion, so I’m elaborating here on the full configuration. Yesterday I posted excitedly about full Hyper key functionality being available in macOS 10.12+. Setup Karabiner: Download Karabiner When opening it requires to enable some stuff in the Settings (just follow the steps it requests from you) Set up the Script: Create a JSON file on your desktop: cmd + space to open the spotlight type in terminal type in cd type in cd desktop touch myscript.
0 Comments
Leave a Reply. |