Dotfiles Automated Setup for MacOS (with Homebrew & LaunchCtl) #1972
GabrielKGardner
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Dotfiles Automated Setup (with Homebrew & LaunchCtl)
After following @thomastthai's great MacOS setup guide. I ran into some hiccups and wanted to tie Kanata into my personal .dotfiles repository to sync up with other work stations automatically. This took quite a bit longer than I expected, so hopefully this is useful for anyone else running into issues.
Additional Notes
Bootstrap failed: 5: Input/output errorwhen runningsudo launchctl bootstrap system ...I had to movesudo launchctl enablebefore it.File Structure
~/.dotfiles/.config/kanata.kbd (find a starter)
~/.dotfiles/scripts/kanata/LaunchDaemons/com.example.kanata.plist:
~/.dotfiles/scripts/kanata/LaunchDaemons/com.example.karabiner-vhiddaemon.plist:
~/.dotfiles/scripts/kanata/LaunchDaemons/com.example.karabiner-vhidmanager.plist:
~/.dotfiles/scripts/kanata/KaraninerDriverKit.sh
~/.dotfiles/scripts/kanata/SetupDaemons.sh
Install
exampleinside the .plist files and the .plist file names with your usernamebrew install kanatabash ./scripts/kanata/KaraninerDriverKit.sh installClick "Open System Settings"


5. Move LaunchDaemons to correct directory
bash ./scripts/kanata/SetupDaemons.sh installFollow the additional setup instructed in output

Uninstall
Beta Was this translation helpful? Give feedback.
All reactions