Karabiner modifiers don't work if XDG_CONFIG_HOME is overridden on a system level.
I have a LaunchAgent startup shell script that overrides XDG_CONFIG_HOME env variable and some other stuff on system startup. This causes Karabiner modifiers to not work. The UI still works fine but adding modifiers does nothing.
Is there a way to have Karabiner working with custom $XDG_CONFIG_HOME?
Here's a repro:
1) Create a file under ~/Library/LaunchAgents/my.dotfiles.plist with the following content.
Karabiner modifiers don't work if XDG_CONFIG_HOME is overridden on a system level.
I have a LaunchAgent startup shell script that overrides
XDG_CONFIG_HOME
env variable and some other stuff on system startup. This causes Karabiner modifiers to not work. The UI still works fine but adding modifiers does nothing.Is there a way to have Karabiner working with custom
$XDG_CONFIG_HOME
?Here's a repro:
1) Create a file under
~/Library/LaunchAgents/my.dotfiles.plist
with the following content.2) Create a file
~/dotfiles.bootstrap.sh
with content similar to this3)
chmod +x ~/dotfiles.bootstrap.sh
4) Reboot, run
printenv
, verify that custom XDG_CONFIG_HOME took5) Try adding some modifiers, verify they don't work anymore.