On 1/5/21 9:17 AM, Dr. Nikolaus Klepp wrote:
Please check if
"browser.shell.checkDefaultBrowser" is set somewhere in the defaults. On my
system it's set in 2 files. Whichever is read later will win:
$ fgrep browser.shell.checkDefaultBrowser /usr/lib/firefox-esr/browser/defaults -R
/usr/lib/firefox-esr/browser/defaults/syspref/firefox-esr.js:pref("browser.shell.checkDefaultBrowser",
false);
/usr/lib/firefox-esr/browser/defaults/preferences/firefox.js:pref("browser.shell.checkDefaultBrowser",
true);
$
Interestingly it's not set to false in my profile - where I explictly set it to
false. But as "false" is the system default, I assume firefox uses some
"clever opimisation" when saving preferences:
$ fgrep browser.shell.checkDefaultBrowser ~/.mozilla -R
$
You can check what your firefox reads with this line - look for the last occurence of
what ever prefrences file holds references to
"browser.shell.checkDefaultBrowser":
$ strace -f $(which firefox) 2>&1|grep '[.]js'|grep
"[.]js\""|sed 's#^.*"\(.*\)".*$#\1#'|less
Nik
Results:
The first fgrep command displayed the same as above. The second fgrep
and strace commands resulted in no output.
Although browser.shell.checkDefaultBrowser is listed in about:prefs in
the browser, I noticed it is currently /not/ in the prefs.js file in my
profile directory - when I opened Konqueror and then opened it with
Kate. Firefox's preferences currently show it is the default browser and
the box above it to check to see if it's the default each time, is
currently not checked.
I also had Vivaldi installed, now removed. Will continue testing.
--
Linux. A Continual Learning Experience.