{"id":359,"date":"2016-12-17T17:29:35","date_gmt":"2016-12-17T16:29:35","guid":{"rendered":"http:\/\/wp.gaborhargitai.hu\/?p=359"},"modified":"2017-04-23T11:16:32","modified_gmt":"2017-04-23T10:16:32","slug":"disable-itunes-keyboard-shortcutsmedia-buttons-on-macos","status":"publish","type":"post","link":"https:\/\/wp.gaborhargitai.hu\/disable-itunes-keyboard-shortcutsmedia-buttons-on-macos\/","title":{"rendered":"Disable iTunes Keyboard Shortcuts\/Media Buttons on macOS"},"content":{"rendered":"
\n

UPDATE FOR SIERRA 10.12.4 AND UP<\/p>\n

This only works on <\/strong>macOS versions prior to\u00a0macOS Sierra 10.12.4 (16E195)<\/strong> as starting from this version it is necessary to disable the System Integrity Protection<\/strong> – this is not<\/em><\/strong> covered in this guide!<\/p>\n

Alternatively, you\u00a0could<\/em> rename the iTunes.app within the Applications folder which will cause it\u00a0not to launch at all<\/strong>. This is less destructive than removing it altogether – chances are, if you want to unbind it then you are not using it as your default player. The steps:<\/p>\n

    \n
  1. Open Finder, go to Applications<\/strong>, select iTunes<\/strong> and right click (or alt\/option click) on iTunes<\/strong>, select Show Package Contents<\/strong><\/li>\n
  2. Open\u00a0Contents <\/strong>then within that, go to the\u00a0MacOS<\/strong> folder<\/li>\n
  3. Right click on “iTunes<\/strong>” and select Rename<\/strong><\/li>\n
  4. Enter your login password if you are asked for it<\/li>\n
  5. Enter something like “iTunes2” as the new name (or anything else, it doesn’t matter really)<\/li>\n
  6. All done! To restore this, rename the executable in step 5 back to “iTunes” and it should work as before<\/li>\n<\/ol>\n

    While it is nowhere near as elegant as the original solution, the recent update forces us to do something radical as this. For the time being, this\u00a0does<\/em> work and you don’t have to reinstall iTunes every time you need it.<\/p><\/blockquote>\n

    For macOS versions prior to\u00a0macOS Sierra 10.12.4 (16E195)<\/strong><\/p>\n

    In order to stop iTunes from opening itself every time you press the\u00a0Play\/Pause<\/strong> button \u00a0on your keyboard – thus \u00a0enabling other apps to use them, for example\u00a0Colibri<\/a><\/strong>\u00a0– here’s a permanent solution that even survives a system restart. The step are:<\/p>\n

    Disable the opening of iTunes upon pressing the Play button:<\/strong><\/p>\n

      \n
    1. Open\u00a0Applications -> Utilities -> Terminal<\/strong><\/li>\n
    2. Issue the following command and hit\u00a0Return<\/b>:
      \nlaunchctl unload -w \/System\/Library\/LaunchAgents\/com.apple.rcd.plist<\/code><\/li>\n
    3. Done!<\/li>\n<\/ol>\n

       <\/p>\n

      Enable\u00a0iTunes self-opening via keyboard media keys (aka undo the changes made above):<\/strong><\/p>\n

        \n
      1. Open\u00a0Applications -> Utilities -> Terminal<\/strong><\/li>\n
      2. Issue the following command and press Return<\/b>:
        \nlaunchctl load -w \/System\/Library\/LaunchAgents\/com.apple.rcd.plist<\/code><\/li>\n
      3. Done!<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"

        UPDATE FOR SIERRA 10.12.4 AND UP This only works on macOS versions prior to\u00a0macOS Sierra 10.12.4 (16E195) as starting from this version it is necessary to disable the System Integrity Protection – this is not covered in this guide! Alternatively, you\u00a0could rename the iTunes.app within the Applications folder which will cause it\u00a0not to launch at […]<\/p>\n","protected":false},"author":1,"featured_media":360,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[29,17],"tags":[],"_links":{"self":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/359"}],"collection":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/comments?post=359"}],"version-history":[{"count":9,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/359\/revisions"}],"predecessor-version":[{"id":371,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/posts\/359\/revisions\/371"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media\/360"}],"wp:attachment":[{"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/media?parent=359"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/categories?post=359"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.gaborhargitai.hu\/wp-json\/wp\/v2\/tags?post=359"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}