Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Bookmarks keep reappearing in Firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Xharlie
n00b
n00b


Joined: 21 May 2017
Posts: 6

PostPosted: Mon May 20, 2024 8:08 am    Post subject: Gentoo Bookmarks keep reappearing in Firefox Reply with quote

It isn't that I don't have many, many Gentoo-adjacent pages bookmarked in my Firefox but the default ones keep reappearing, intermittently, and I have to keep cleaning them out. I'm referring to "Gentoo's Bugzilla", "... Forums", "... Packages", "Planet Gentoo", "Gentoo Wiki" which get injected into both the "Bookmarks Toolbar" and "Bookmarks Menu / Gentoo" subtrees.

How can I prevent this from happening?

I use several different Firefox profiles -- each for its own domain or workflow -- and so having these keep reappearing is rather annoying.

Incidentally, I *do* have `browser.bookmarks.restore_default_bookmarks` forced to `false` (via `policies.json`) for all my Firefox profiles and have had that set for years -- I don't remember when I set it but, presumably, I did it to prevent another operating system or platform from spamming bookmarks -- probably Windows, which I used, once.

The Firefox I'm using is from Portage and `@world` lists it as `www-client/firefox:esr`. I do not use `bindist`. Portage reports:

Code:
www-client/firefox-115.11.0::gentoo was built with the following:
USE="clang dbus gmp-autoupdate hwaccel lto openh264 pgo pulseaudio screencast system-av1 system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-webp wayland -X -debug -eme-free -geckodriver -hardened -jack -libproxy (-selinux) -sndio -system-png (-system-python-libs) -wifi" ABI_X86="(64)" L10N="de en-GB -... -... ...


My desktop environment (at the time of writing) is KDE 5.27.11 on top of Wayland.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1906
Location: 127.0.0.1

PostPosted: Mon May 20, 2024 8:25 am    Post subject: Reply with quote

Hi,

On your system, the firefox package is installing this file somewhere in /usr/lib*/firefox.
You should try to remove it after each firefox installation. See INSTALL_MASK from man make.conf.
You should also report a bug, maybe this file can be splitted up, the app.distributor line sounds important.
Back to top
View user's profile Send private message
Xharlie
n00b
n00b


Joined: 21 May 2017
Posts: 6

PostPosted: Mon May 20, 2024 8:41 am    Post subject: Reply with quote

Thanks @netfab -- that's what I needed to know.

As soon as I have time, I will try to submit an issue. I'd think a USE-flag to control that file would be appropriate. `USE=-bookmarks` seems nice; maybe it could cause a truncated edition of the file to be installed, instead, so that `about` and `app.distributor` etc. could still be set by Gentoo.
Back to top
View user's profile Send private message
Xharlie
n00b
n00b


Joined: 21 May 2017
Posts: 6

PostPosted: Mon May 20, 2024 8:47 am    Post subject: Reply with quote

I still do not understand why this file would be being intermittently reapplied, even to pre-existing Firefox profiles, however.

... or why `browser.bookmarks.restore_default_bookmarks` is ignored -- does Firefox have multiple channels through which "default bookmarks" are injected?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum