Microsoft Teams on Mac: how to turn off keyboard media keys and fix playing the call sound

Elvis Ciotti
1 min readOct 8, 2022

--

Microsoft teams current version on Mac seems to associate media keys, so when you finish a call and press Play media key (F8), the call sound starts instead of Spotify / Youtube Music.

To fix this, the thing that worked for me was just launching this command from the terminal

touch ~/Library/Application\ Support/Microsoft/Teams/hooks.json

that is the equivalent of creating a hooks.jsonfile in that directory. Restart Teams after this

If still that doesn’t work you can try launching Teams with an additional parameter

-disable-features=HardwareMediaKeyHandling

I don’t know a way to add this to Teams when clicking on it, but I know it from the terminal

nohup /Applications/Microsoft\ Teams.app/Contents/MacOS/Teams -disable-features=HardwareMediaKeyHandling &

Thanks for reading !

What to do next:
- Clap if useful
- Buy me a coffee
- Follow me for more
- Read my other articles below or from my profile
- Keep in touch on LinkedIn

--

--

Elvis Ciotti
Elvis Ciotti

Written by Elvis Ciotti

Software Contractor — Java, Spring, k8s, AWS, Javascript @ London - hire me at https://elvisciotti.github.io/

Responses (1)