

This can be disabled similarly to how you would disable it on Windows: Launching Discord directly Lollypop (the media player I use) still appears in the list, and if I click on it, my media keys once again control music playback in Lollypop, but if I start playing a video in Discord while Lollypop is paused, I have to do this again. Not only does this hijack the media controls, but it adds a useless "player" that only serves to annoy you when you try to control music playback in the media player you actually want to use. If you're using Linux, Discord will not only hijack and react to the media keys (play/pause/etc) like on Windows, but it will also appear as an MPRIS media player (with the name "Chromium") - meaning that for desktop environments with integrated media controls (KDE, GNOME, Cinnamon.), it will appear as an available media player with playback controls that do nothing: Hope this helps and I hope discord dev team can implement this as an standard feature on on-off setting inside of Discord settings. Now at the end of " Target" modify " Discord.exe" to " DiscordFlags.lnk"Ĭlick " Ok" and you are ready to use your shortcut (Remember to close and open Discord for it to work) Now that you have your preferred shortcut selected right click on it and choose " Properties" Now navigate to desktop or where ever your shortcut is (For start menu and Cortana search use the search it self to find discord and right click and choose " Open file location" and there is your shortcut to modify) Now in " Target" at the end add " -disable-features=HardwareMediaKeyHandling" Right click " DiscordFlags" and choose " Properties" Rename Shortcut to " DiscordFlags" (or something similar but you need to remember this later) Now right click " Discord.exe" and choose "Create Shortcut"


For me it's " C:\Users\USERNAME_HERE\AppData\Local\Discord\app-0.0.306" Start by going to your Discord installation folder. Now if you use discord from a Shortcut on your desktop or from start menu its bit more complicated. Navigate to " Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run"įind Discord, Right click and choose "Modify"Īdd " -disable-features=HardwareMediaKeyHandling" to the end of " Value data"
#Mediakeys chrome how to#
So how to get that on Discord? Well for me discord starts with windows and for it its simple. In Chrome there are flags and one of them is " Hardware Media Key Handling" and it can be accessed from chrome://flags/#hardware-media-key-handling. Discord is electron and it uses chromium (chrome).
