Hi,
The problem has been exposed here
“Why does Firefox change a manually set homepage with the recent update?”
https://forum.manjaro.org/t/why-does-firefox-change-a-manually-set-homepage-with-the-recent-update/89322
Sometimes I got my preference updated.
The solution is not shown in the previous link.
Where is stored
browser.startup.homepage
???
Is it in a sqlite
file?
Has someone a script to force this value to force browser.startup.homepage
to about:home
?
Thanks
cscs
19 August 2023 21:21
2
…
Doesnt this actually come from
manjaro-browser-settings
?
(I am relatively sure you can find threads discussing this exact situation, dating years back)
sudo pacman -Rns manjaro-browser-settings
If you dont like/want it … then remove that package.
It does nothing else but set homepage and bookmarks on multiple browsers.
Oh addendum. It also sets some variables like these too:
about=Mozilla Firefox for Manjaro Linux
app.distributor=archlinux
app.distributor.channel=firefox
app.partner.archlinux=archlinux
None of which is necessary.
1 Like
Thank you for your answer. I have already found the solution.
I would like to understand how Firefox works. Can you please help me?
cscs
19 August 2023 21:27
4
What do you mean?
If you mean this:
marco.righi:
Where is stored
browser.startup.homepage
Then it is in about:config
(type this into your firefox address bar and hit enter)
I mean that In some forum I found the solution you proposed. Thank you again for your suggestion.
When I ask where is it stored I would like to know in which file in the file system is saved this information.
What is the path of the file that contains browser.startup.homepage
?
cscs
19 August 2023 21:36
6
find $HOME/.mozilla/firefox -name "*.default" -print | sed 's/$/\/prefs.js/'```
But if you want to be modifying firefox settings programatically then see here:
https://wiki.archlinux.org/title/Firefox#Settings_storage
pref.js
file contains:
// Mozilla User Preferences
// DO NOT EDIT THIS FILE.
//
// If you make changes to this file while the application is running,
// the changes will be overwritten when the application exits.
//
// To change a preference value, you can either:
// - modify it via the UI (e.g. via about:config in the browser); or
// - set it within a user.js file in your profile.
They change again the strategy. I can override the setting by using user.js
but I would like to understand where they put the information!
Thank you for your time and your patience.
cscs
19 August 2023 23:12
8
That file is where preferences usually go.
For what that package does . I already gave you a link.
/usr/lib/firefox/distribution/distribution.ini
/usr/lib/firefox/browser/defaults/preferences/all-companyname.js
You could also look at the PKGBUILD:
Manjaro Linux GitLab
Or use the pacman database:
$ sudo pacman -Fyl manjaro-browser-settings
[...]
manjaro-browser-settings etc/
manjaro-browser-settings etc/manjaro-firefox-developer-edition.ini
manjaro-browser-settings etc/manjaro-firefox-kde.ini
manjaro-browser-settings etc/manjaro-firefox.ini
manjaro-browser-settings etc/manjaro-thunderbird.ini
manjaro-browser-settings etc/skel/
manjaro-browser-settings etc/skel/.config/
manjaro-browser-settings etc/skel/.config/falkon/
manjaro-browser-settings etc/skel/.config/falkon/profiles/
manjaro-browser-settings etc/skel/.config/falkon/profiles/manjaro/
manjaro-browser-settings etc/skel/.config/falkon/profiles/manjaro/bookmarks.json
manjaro-browser-settings etc/skel/.config/falkon/profiles/manjaro/browsedata.db
manjaro-browser-settings etc/skel/.config/falkon/profiles/manjaro/version
manjaro-browser-settings etc/skel/.config/falkon/profiles/profiles.ini
manjaro-browser-settings usr/
manjaro-browser-settings usr/lib/
manjaro-browser-settings usr/lib/brave/
manjaro-browser-settings usr/lib/brave/bookmarks.html
manjaro-browser-settings usr/lib/brave/master_preferences
manjaro-browser-settings usr/lib/chrome/
manjaro-browser-settings usr/lib/chrome/bookmarks.html
manjaro-browser-settings usr/lib/chrome/master_preferences
manjaro-browser-settings usr/lib/chromium/
manjaro-browser-settings usr/lib/chromium/bookmarks.html
manjaro-browser-settings usr/lib/chromium/master_preferences
manjaro-browser-settings usr/lib/firefox-developer-edition/
manjaro-browser-settings usr/lib/firefox-developer-edition/browser/
manjaro-browser-settings usr/lib/firefox-developer-edition/browser/defaults/
manjaro-browser-settings usr/lib/firefox-developer-edition/browser/defaults/preferences/
manjaro-browser-settings usr/lib/firefox-developer-edition/browser/defaults/preferences/all-companyname.js
manjaro-browser-settings usr/lib/firefox-developer-edition/distribution/
manjaro-browser-settings usr/lib/firefox/
manjaro-browser-settings usr/lib/firefox/browser/
manjaro-browser-settings usr/lib/firefox/browser/defaults/
manjaro-browser-settings usr/lib/firefox/browser/defaults/preferences/
manjaro-browser-settings usr/lib/firefox/browser/defaults/preferences/all-companyname.js
manjaro-browser-settings usr/lib/firefox/distribution/
manjaro-browser-settings usr/lib/palemoon/
manjaro-browser-settings usr/lib/palemoon/distribution/
manjaro-browser-settings usr/lib/palemoon/distribution/distribution.ini
manjaro-browser-settings usr/lib/thunderbird/
manjaro-browser-settings usr/lib/thunderbird/distribution/
manjaro-browser-settings usr/share/
manjaro-browser-settings usr/share/libalpm/
manjaro-browser-settings usr/share/libalpm/hooks/
manjaro-browser-settings usr/share/libalpm/hooks/firefox-dev-post.hook
manjaro-browser-settings usr/share/libalpm/hooks/firefox-dev-pre.hook
manjaro-browser-settings usr/share/libalpm/hooks/firefox-kde-post.hook
manjaro-browser-settings usr/share/libalpm/hooks/firefox-kde-pre.hook
manjaro-browser-settings usr/share/libalpm/hooks/firefox-post.hook
manjaro-browser-settings usr/share/libalpm/hooks/firefox-pre.hook
manjaro-browser-settings usr/share/libalpm/hooks/thunderbird-post.hook
manjaro-browser-settings usr/share/libalpm/hooks/thunderbird-pre.hook
system
Closed
28 August 2023 01:20
9
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.