How to fix media keys on iMac
This is not actually a problem or anything related to programming. But I faced it so badly and decided to post it in my technical blog. I might need it again, and so for the visitors.
At first the media keys worked well with my iTunes. I was happy, but one day it stopped working with iTunes. I was confused. The keyboard was perfect. I realized the problem.
It’s not the iTunes or keyboard, it’s the Google Chrome and it’s Play Music app. After installing the Google Play Music app on my Google Chrome, the media keys were bound to the Music app only. So any other application can no longer get the media keys when Google Chrome is opened.
The simple solution what I did is went to Preferences > Extensions > Keyboard Shortcuts in Google Chrome and unbound all media keys. Kept every keyboard shortcuts Not Set.
This simple fix saved my months of suffering. Now I can use media keys for iTunes again.