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).
Asked
Active
Viewed 581 times
4
1 Answers
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
firefox https://askubuntu.com/
in a terminal? Please [edit] your post to add information instead of posting a comment. (see How do I ask a good question?) – David Foerster Jul 03 '18 at 10:57firefox URL
it works as expected (i.e. opens FF on the expected tab, or adds a new tab to the current FF window if it was already open). Any external app shows the same behaviour (from Thunderbird, Evince, Eclipse, ...). Can it be some Ubuntu "default application" settings? – Matthieu Jul 13 '18 at 11:40