Questions tagged [karabiner]

Questions about extending Karabiner's functionality through use of private.xml

Karabiner, formerly called KeyRemap4MacBook, is an application for Mac OS X that allows the user to take complete control of keyboards and mice by setting up custom keybindings. It ships with hundreds of built-in bindings, fixes for common annoyances or broken drivers, and examples.

Bindings can be as simple as switching the Tab and the Return keys, or as complex as defining series of keystrokes and simulated mouse clicks and movements to occur in response to a single user action.

Karabiner is extended through an XML-based file, private.xml, that defines custom mouse and keyboard bindings.

59 questions
1
vote
1 answer

IOKit call fails with kIOReturnExclusiveAccess when another app is running

I'm building a MacOS app using IOKit. I'm encountering an issue where if Karabiner is running before I run my app, opening a HIDManager fails with kIOReturnExclusiveAccess. If I close Karabiner and run my app, the HIDManager opens successfully. I…
Chris
  • 7,996
  • 11
  • 66
  • 98
1
vote
2 answers

How to enable rules only for specific keyboard layout (karabiner)?

On Karabiner I am enabling multiples rules under its complex modifications setup, such as Emacs key bindings. I was wondering is it possible to use those enables rules only for a specific keyboard layout such as U.S. and automatically disable those…
alper
  • 2,919
  • 9
  • 53
  • 102
1
vote
1 answer

How to create remap insert key to command+option+I in Karabiner-Elements

Karabiner-Elements is awesome. But I don't understand modification rules. I want to my insert key in my iMac to open Developer Tools. Can I show some examples?
Moowabo
  • 25
  • 5
1
vote
1 answer

using Sublime Text 3 cli from within another service to open an new window creates a temp file

I've been setting up a Karabiner (Launcher Mode) shortcut to open a new Sublime Text window. Normally I call subl -n from a terminal window to bring up a new sublime window. Karabiner lets you specify shell scripts as shortcuts to run, so I tried…
1
vote
1 answer

Is it possible to create a Karabiner filter for Application Bundle Identifiers

I have looked at the sample code for Karabiner where you can create a filter that applies to a window name, but I would like to apply the filter, when I am creating new emails. Since the window name changes, I would like to filter on the…
Rich Maes
  • 1,204
  • 1
  • 12
  • 29
1
vote
1 answer

Karabiner how to map two KeyCodes to another two KeyCodes

Karabiner has been very awesome with its remapping for its emulating of vim mode. My favorite part is being able to press s + hjkl and use that as a replacement for cursor keys. I'm trying to add another shortcut that would function similarly, let's…
Cody
  • 578
  • 3
  • 13
1
vote
3 answers

Meta Key in Mac Terminal app

I'm trying to find a way to use only the left option key as the Meta Key in osx Terminal, but leaving the right option with it's normal functions (special characters #, @, etc.). Is there any way to config it to work this way? (Basically i want to…
Ghost
  • 1,426
  • 5
  • 19
  • 38
0
votes
0 answers

Using Karabiner Elements, can rules interact with each other?

I'm trying to achieve something along the lines of: If holding down left_command and pressing j, it would activate left_arrow and If holding down left_command + s and pressing j it would activate left_shift + left_arrow. So that you could navigate…
Peterrr
  • 73
  • 1
  • 11
0
votes
0 answers

Karabiner Disable right_command key to use it for other complex modifications

I wan't to create a shortcut ( right command and r to } ) because it is easier and I don't use the right command a lot , I modified my complex modification json (and there are no errors in it) but when i try it in a browser tab ( for instance ) it…
0
votes
0 answers

Issues with Karabiner mappings

I have a new keyboard, a Magegee mechanical keyboard. I would like to set a couple of rules: fn + back should become Del (as in mac os). For now I set Equal + Back, but I would prefer the first one. the other seems more tricky. I have a lock…
0
votes
2 answers

How can I disable Karabiner-Elements for Emacs.app and Emacsclient.app

I am unable to use C- key in Emacs.app or Emacsclient.app gui applications when Karabiner is enabled. C- is backbone to use Emacs all keybindings are dependent on it. Is it possible to completely disable Karabiner-Elements only for the Emacs.app on…
alper
  • 2,919
  • 9
  • 53
  • 102
0
votes
1 answer

End of file expected.json

I cannot correctly add this KarabinerElements O-launcher config to my config file because of a constant error: End of file expected.json error in line 3 and 10 [ { { "conditions": [ { "name": "launcher_mode_v4", …
Kamil
  • 27
  • 5
0
votes
0 answers

Karabiner-Elements: map emoji key to right option, complex modifications

I am using Microsoft keyboard on a macOS and I would like to map the Emoji key to Right Option. I would like to do it because it would like to use Right Option as a modifier for typing Polish diacritic characters. This is how I type them on a…
0
votes
1 answer

Using unknown/undefined keyboard (keymap) in hammerspoon

I have attached to my mac a keyboard with additional (nonstandard) keys. See the image at the end of post. Here is my testing Hammerspoon init.lua local hyper = {"cmd", "alt", "ctrl", "shift"} hs.hotkey.bind(hyper, "E", function() …
clt60
  • 62,119
  • 17
  • 107
  • 194
0
votes
1 answer

Input Option upon release of Cmd+Tab

When using the application switcher triggered by Cmd+Tab, selecting an application does not necessarily bring forward the window of that application. One can however use the Option key. Then, when releasing Cmd+Tab, the window will be brought…