Hi, How can I get Librewolf take the window focus when I click an URL in another app (said otherwise, to open in the foreground)? I am using an arch-based distro in a Plasma 6 Wayland session, and I know this functionality is implemented for Firefox (it works when switching the default browser), but I do not find the right setting. Thanks!

  • @anamethatisnt@lemmy.world
    link
    fedilink
    1
    edit-2
    1 month ago

    As it works with Firefox I agree that it is probably a browser setting.
    According to this thread you can fix it in about:config
    “I would recommend that you visit about:config in Firefox to access advanced preferences, then enter inbackground in the filter bar, and make sure that browser.tabs.loadDivertedInBackground and browser.tabs.loadInBackground are set to false.”

    https://forum.manjaro.org/t/firefox-doesnt-raise-window-after-clicking-a-link-on-wayland/154842

    • @cyanescens@lemmy.worldOP
      link
      fedilink
      1
      edit-2
      1 month ago

      Thank you for your suggestion and the link. The first setting is indeed set to false, but changing the second from true to false does not solve this issue. To be more precise, when Librewolf is not running, clicking a link actually opens it to the foreground. However, when it is already open, it does not come in the foreground.