101

I would like to remove the bubble notifications of Spotify that are shown when a new song is being played. This is quite distracting while you are working.

I still like the integration within the volume menu.

Ubuntu Version: 14.04

Spotify Version: 0.9.10.17.g4129e1c9

2 Answers 2

129

Exit Spotify, then edit ~/.config/spotify/Users/[Spotify user name]-user/prefs and set ui.track_notifications_enabled=false

17
  • 2
    No @Jobin, $USER would be the Ubuntu user name, not the Spotify user name. I will revert your edit.
    – Jos
    May 26, 2014 at 9:40
  • 1
    I have modified the prefs file as you have pointed out, but when Spotify is restarted, it modifies the prefs again removing the ui.track_notifications_enabled=false May 26, 2014 at 9:45
  • 4
    It works! (I'm on Ubuntu 14.04 with Unity) Funny that we have to go to a config file to do this simple preference change... when will GUI's ever learn?
    – modulitos
    Jun 28, 2014 at 8:40
  • 7
    Unfortunately this also disables a part of the mpris d-bus interface which normally provides things like "currently playing" information.
    – exic
    Jul 31, 2014 at 8:27
  • 3
    For snap installed spotify the file is: ~/snap/spotify/current/.config/spotify/Users/[Some user hash]-user/prefs Jun 25, 2019 at 10:39
128

In recent versions of Spotify, you can disable the notification inside the GUI itself.

Go to "Settings" and then "Display" and toggle the "Show desktop notifications when the song changes" option.

Display options for Spotify

5
  • 9
    Using Ubuntu 18.04 and the other answer's dir structure didn't exist. This is the correct answer. Thanks.
    – Force Hero
    Mar 16, 2019 at 7:42
  • 1
    I cannot find this settings page in KDE (the top toolbar is not visible) Jun 25, 2019 at 10:31
  • 1
    Can't get to this page on Cinnamon either.
    – sjf
    Jan 28, 2020 at 20:41
  • 1
    Hey @sjf, hopefully the accepted answer, which modifies the config file directly, works for you.
    – edwinksl
    Jan 29, 2020 at 4:19
  • 2
    I want to add to the Spotify Settings Solution from Edwinksi that those settings are available under the dropdown menu besides your username in the UI, seeing some people having trouble finding it. Would have commented this in that thread if I was allowed to...
    – Merijn Bol
    Jun 8, 2020 at 8:38

Not the answer you're looking for? Browse other questions tagged or ask your own question.