I want to run Firefox (and Thunderbird) automatically on logon. I thought I had a solution - which is running "Startup Applications" and adding an entry for Firefox to execute:
/usr/lib/firefox/firefox. Now, that works in a sense, when I log out and log back in, it runs Firefox. However Firefox asks if I want to make Firefox the default browser (which it does not usually do). So I say OK, which is fine, but then if I happen to close Firefox and launch it manually from the Unity Launcher, it asks again if I want to make Firefox the default browser.
So it seems that running
/usr/lib/firefox/firefox at startup is different to running it from the launcher (different profile?). I want to make them equivalent. Is there some argument I can add to the Startup Applications list to make the automatically started-up Firefox the same as the manually started-up one?
A similar issue seems to happen with Thunderbird - it doesn't seem to be using the same profile as my usual one (see below) - for example, it failed to log into my mail server.
I am using Ubuntu 14.04.
I've used the Firefox debugging page to find the location of my profile directory. It definitely is the same with both invocations of Firefox (and my bookmarks are the same). However I still get asked the question (below) when I change from the auto-started Firefox to manually invoking it. I suppose I can uncheck the box "Always perform this check ..." but it seems oddly disturbing that there is some difference in the execution that it asks the question in the first place.
Each time I see the above message these days, I click on "Use Firefox as my default browser" and uncheck "Always perform this check when starting Firefox" (not in that order, obviously).
However every time I go from the invocation from login, and the invocation from manually starting it, I get the dialog box again. Which is weird, because wherever they are storing my answer, it isn't remembered.