Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

librewolf: defaults to google search engine #344417

Open
cafkafk opened this issue Sep 25, 2024 · 2 comments
Open

librewolf: defaults to google search engine #344417

cafkafk opened this issue Sep 25, 2024 · 2 comments
Labels
0.kind: bug Something is broken

Comments

@cafkafk
Copy link
Member

cafkafk commented Sep 25, 2024

Copied from #338439.

Describe the bug

Default search engine is Google instead of DuckDuckGo.

Steps To Reproduce

  1. Delete ~/.librewolf
  2. Start LW browser

Expected behavior

Default search should be DDG, and google shouldn't even be available, per https://librewolf.net/docs/faq/#how-do-i-add-a-search-engine

Screenshots

Additional context

Notify maintainers

@dotlambda @squalus

Metadata

Tested using 33b95d0


Add a 👍 reaction to issues you find important.

@cafkafk cafkafk added the 0.kind: bug Something is broken label Sep 25, 2024
@colons
Copy link

colons commented Nov 5, 2024

this is concerning to me. not only is google the default search engine, but it has autocomplete enabledm too (edit: this is not (currently?) true). much of the value of librewolf is its default configuration; if that's not being applied, what else might be missing?

the problem isn't wrapFirefox as far as i can tell; this still happens with librewolf-unwrapped

@bittner
Copy link

bittner commented Dec 6, 2024

I install the DuckDuckGo extension system-wide, which makes this problem go away for now. I have to do this using programs.firefox, though, because for Librewolf installing extensions apparently can only be done using Home Manager.

Solution approach (click to expand)

{ pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    librewolf
  ];

  programs.firefox = {
    enable = true;

    policies = {
      DisableTelemetry = true;
      DisableFirefoxStudies = true;
      Preferences = {
        "browser.startup.page" = 3; # Open tabs from last session
        "cookiebanners.service.mode.privateBrowsing" = 2; # Block cookie banners in private browsing
        "cookiebanners.service.mode" = 2; # Block cookie banners
        "privacy.donottrackheader.enabled" = true;
        "privacy.fingerprintingProtection" = true;
        "privacy.resistFingerprinting" = true;
        "privacy.trackingprotection.emailtracking.enabled" = true;
        "privacy.trackingprotection.enabled" = true;
        "privacy.trackingprotection.fingerprinting.enabled" = true;
        "privacy.trackingprotection.socialtracking.enabled" = true;
      };
      ExtensionSettings = {
        "jid1-ZAdIEUB7XOzOJw@jetpack" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/duckduckgo-for-firefox/latest.xpi";
          installation_mode = "force_installed";
        };
        "[email protected]" = {
          install_url = "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi";
          installation_mode = "force_installed";
        };
      };
    };
  };
}

Note that this also installs Firefox. That's part of the game, unfortunately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

3 participants