gnome-terminal in Debian ignores the default browser


You change Gnome's preferred application for the web browser, but gnome-terminal still opens the old one when you right-click the links?

I switched back from chromium-browser to firefox, but pidgin and gnome-terminal kept opening chromium inspite the fact that:

  • I changed Gnome settings in System → Preferences → Preferred Applications
  • I changed x-www-browser using sudo update-alternatives --config x-www-browser
  • I changed gnome-www-browser using sudo update-alternatives --config gnome-www-browser

Gnome Terminal (and Pidgin, and some other apps) ignored every system configuration setting I was aware of. The corresponding Ubuntu bug was closed as invalid.

I found a workaround in a Debian bug report. These lines in ~/.local/share/applications/defaults.list solved my issue:


What is it, yet another configuration layer?