Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to install if I don't use homebrew #145

Open
esn89 opened this issue Aug 10, 2020 · 6 comments
Open

How to install if I don't use homebrew #145

esn89 opened this issue Aug 10, 2020 · 6 comments

Comments

@esn89
Copy link

esn89 commented Aug 10, 2020

Hi, so I am using Macports and installing it via ports isn't an option.

I chose to clone and compile it and it built me a binary and a folder of: bin/skhd.dSYMC/Contents/Resources and "Info.plost"

What should I do with those?

I tried using launchctl and submitting the binary as a start up object but it keeps popping up the terminal everytime.

Some help would be appreciated.

@dominiklohmann
Copy link

# clone the repo
git clone https://github.com/koekeishiya/skhd.git

# enter the directory
cd skhd

# build skhd and install it
make install

# install the example launch agent
cp examples/com.koekeishiya.skhd.plist ~/Library/LaunchAgents/com.koekeishiya.skhd.plist

# load the launch agent
# this will prompt for permissions and restart until they're given
launchctl load -w ~/Library/LaunchAgents/com.koekeishiya.skhd.plist

@esn89
Copy link
Author

esn89 commented Aug 17, 2020

@dominiklohmann

Thanks for the comment. However, I am getting strange behavior. When my laptop boots, I get this strange pop up:

https://imgur.com/a/CjRXUEk

Any ideas?

@dominiklohmann
Copy link

Disable Secure Keyboard Entry in the application that is enabling it. skhd cannot work with it enabled by design.

@esn89
Copy link
Author

esn89 commented Aug 17, 2020

@dominiklohmann

I have done this:
https://support.apple.com/guide/terminal/use-secure-keyboard-entry-trml109/mac

I went to the Terminal app to disable it. I made sure there isn't a checkmark there. However, this same problem is still happening :/

@dominiklohmann
Copy link

Look at your own screenshot: You need to find out which application the securityagent process belongs to, and disable Secure Keyboard Entry for that application specifically. As long as any application has it enabled, skhd cannot work.

@pa-0
Copy link

pa-0 commented Jan 16, 2025

Late I know but in case another MacPorts user comes across this, there is an up-to-date Portfile available...

$ port search skhd

skhd @0.3.9 (sysutils)
    Simple hotkey daemon for macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants