{"action":"created","issue":{"url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/20","labels_url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/20/comments","events_url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/20/events","html_url":"https://github.com/andymcd/cmd-key-happy/issues/20","id":58977102,"number":20,"title":"Problem on Yosemite","user":{"login":"joelruns","id":5619611,"avatar_url":"https://avatars.githubusercontent.com/u/5619611?v=3","gravatar_id":"","url":"https://api.github.com/users/joelruns","html_url":"https://github.com/joelruns","followers_url":"https://api.github.com/users/joelruns/followers","following_url":"https://api.github.com/users/joelruns/following{/other_user}","gists_url":"https://api.github.com/users/joelruns/gists{/gist_id}","starred_url":"https://api.github.com/users/joelruns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joelruns/subscriptions","organizations_url":"https://api.github.com/users/joelruns/orgs","repos_url":"https://api.github.com/users/joelruns/repos","events_url":"https://api.github.com/users/joelruns/events{/privacy}","received_events_url":"https://api.github.com/users/joelruns/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andymcd","id":19877,"avatar_url":"https://avatars.githubusercontent.com/u/19877?v=3","gravatar_id":"","url":"https://api.github.com/users/andymcd","html_url":"https://github.com/andymcd","followers_url":"https://api.github.com/users/andymcd/followers","following_url":"https://api.github.com/users/andymcd/following{/other_user}","gists_url":"https://api.github.com/users/andymcd/gists{/gist_id}","starred_url":"https://api.github.com/users/andymcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymcd/subscriptions","organizations_url":"https://api.github.com/users/andymcd/orgs","repos_url":"https://api.github.com/users/andymcd/repos","events_url":"https://api.github.com/users/andymcd/events{/privacy}","received_events_url":"https://api.github.com/users/andymcd/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-02-25T22:00:13Z","updated_at":"2015-02-26T21:59:34Z","closed_at":null,"body":"This does not work on Yosemite for me. Followed MakeFile instructions. Using example Lua file. Not sure what Error 3 is in plist part. I tried activating and deactivating use Option as Meta. Any ideas?\r\n\r\n$ make output\r\ncc -Ilua-5.2.1/src -MMD -Wpointer-arith -Werror -Wall -Wextra -W -Wunused -Wno-unused-parameter -Wno-unused-function -Wuninitialized -std=c99 -O3 -c -o cmd-key-happy.o cmd-key-happy.m\r\ncc -Ilua-5.2.1/src -O3 -c -o lua-5.2.1.o lua-5.2.1.c\r\ncc -g -o cmd-key-happy cmd-key-happy.o lua-5.2.1.o -framework Foundation -framework AppKit -framework Carbon\r\n\r\n$ sudo make install\r\n/usr/bin/install -d /usr/local/bin\r\n/usr/bin/install -m 555 cmd-key-happy /usr/local/bin\r\n/usr/bin/install -m 555 cmd-key-happy-restart.sh /usr/local/bin/cmd-key-happy-restart\r\n\r\n$ make install-rcfile\r\ncp example-rcfile.lua ~/.cmd-key-happy.lua\r\n\r\n$ make install-plist\r\nmkdir -p /Users/Joel/Library/LaunchAgents\r\nlaunchctl stop com.frobware.cmd-key-happy\r\nmake: [install-plist] Error 3 (ignored)\r\nlaunchctl unload /Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist\r\n/Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist: No such file or directory\r\nrm -f /Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist\r\nsed -e 's~%INSTALL_ROOT~/usr/local~' com.frobware.cmd-key-happy.plist > /Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist\r\nchmod 644 /Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist\r\nlaunchctl load -S Aqua /Users/Joel/Library/LaunchAgents/com.frobware.cmd-key-happy.plist\r\nlaunchctl start com.frobware.cmd-key-happy\r\n\r\nI set my permissions as specified.\r\n\r\n$ cmd-key-happy-restart"},"comment":{"url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/comments/76283414","html_url":"https://github.com/andymcd/cmd-key-happy/issues/20#issuecomment-76283414","issue_url":"https://api.github.com/repos/andymcd/cmd-key-happy/issues/20","id":76283414,"user":{"login":"andymcd","id":19877,"avatar_url":"https://avatars.githubusercontent.com/u/19877?v=3","gravatar_id":"","url":"https://api.github.com/users/andymcd","html_url":"https://github.com/andymcd","followers_url":"https://api.github.com/users/andymcd/followers","following_url":"https://api.github.com/users/andymcd/following{/other_user}","gists_url":"https://api.github.com/users/andymcd/gists{/gist_id}","starred_url":"https://api.github.com/users/andymcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andymcd/subscriptions","organizations_url":"https://api.github.com/users/andymcd/orgs","repos_url":"https://api.github.com/users/andymcd/repos","events_url":"https://api.github.com/users/andymcd/events{/privacy}","received_events_url":"https://api.github.com/users/andymcd/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T21:59:34Z","updated_at":"2015-02-26T21:59:34Z","body":"Could you try the following:\r\n\r\n $ make uninstall\r\n\r\nGo to \"Security & Privacy\" preferences, then \"Privacy\". From there remove entries for 'cmd-key-happy' and 'Terminal'.\r\n\r\nBack in your shell:\r\n\r\n $ make install\r\n $ make install-plist\r\n\r\nThat should pop-up a dialog, click \"Open System Preferences\" in that dialog and grant \"cmd-key-happy\" access. It should be listed there, but not checked.\r\n\r\n $ cmd-key-happy-restart\r\n $ pgrep cmd-key-happy\r\n\r\nAnd see if that works. I just tried that sequence - it's important after the uninstall steps that \"cmd-key-happy\" is not listed in the Privacy list."}}