I'm on Linux Mint 19. Sometimes my media keys (play, pause, next, etc.) work fine with media apps (Spotify, in my case). Sometimes they do not work, and sometimes they even end up controlling media in my browser. Even though there is nothing in browsers, they do not "connect" to Spotify. What can I do?
Media keys works nice on Chrome.