4

I installed Ubuntu16.04, and set firefox as default browser, whenever I open links from external apps these are open as blank tabs in new browser window (no actual redirection to site, just a blank tab).

1 Answers1

4

I've had the same problem for years and was finally able to solve it thanks to this strange new fashion of creating YouTube videos instead of writing a blog post (here is the original video).

Basically, you need to add a missing %u parameter in ~/.local/share/applications/firefox.desktop at the end of each Exec= line:

$ grep -B 2 ^Exec= ~/.local/share/applications/firefox.desktop
Keywords=Internet;WWW;Browser;Web;Explorer
Keywords[fr]=...
Exec=firefox %u
--
Name=Open a New Window
Name[fr]=...
Exec=firefox -new-window %u
--
Name=Open a New Private Window
Name[fr]=...
Exec=firefox -private-window %u
Matthieu
  • 476