fix(readme): set default browser with xdg-settings

omarchy-launch-browser reads xdg-settings and ignores $BROWSER, so the
export alone never made LibreWolf the default.
This commit is contained in:
Łukasz Boryń 2026-10-11 22:21:45 +02:00
parent e237c7d22a
commit fad2ed73a9

View File

@ -147,18 +147,38 @@ sudo pacman -S fcitx5-config-qt fcitx5-configtool fcitx5-gtk
## Default browser ## Default browser
LibreWolf is installed by [step 2](#step-2--add). Make it the default browser LibreWolf is installed by [step 2](#step-2--add). Make it the default
so it matches the assigned keybinding: browser — this is what the browser keybindings (`SUPER + SHIFT + B`,
`SUPER + SHIFT + RETURN`) and links opened from other apps use
(`omarchy-launch-browser` reads `xdg-settings` and explicitly ignores
`$BROWSER`). The Omarchy menu's *Setup > Defaults > Browser* does not list
LibreWolf, so set it directly. `xdg-settings` refuses to change anything while
`$BROWSER` is set ("$BROWSER is set and can't be changed with xdg-settings"),
so unset it for the command, as `omarchy-default-browser` does:
```bash ```bash
echo 'export BROWSER=librewolf' >> /home/$USER/.config/uwsm/default env -u BROWSER xdg-settings set default-web-browser librewolf.desktop
env -u BROWSER xdg-settings get default-web-browser # librewolf.desktop
```
Optionally, also export `BROWSER` for terminal tools that read it (e.g. `gh`).
Add the line once — appending blindly duplicates it on every run:
```bash
grep -qx 'export BROWSER=librewolf' ~/.config/uwsm/default ||
echo 'export BROWSER=librewolf' >> ~/.config/uwsm/default
``` ```
### Allow AI websites ### Allow AI websites
In LibreWolf, open `about:config` and set claude.ai and chatgpt.com can hang LibreWolf with its fingerprinting
`privacy.resistFingerprinting.reduceTimerPrecision.jitter` (both options) to protection's timer jitter enabled. In `about:config`, set
`false`. `privacy.resistFingerprinting.reduceTimerPrecision.jitter` to `false`.
The second match in `about:config`,
`services.sync.prefs.sync.privacy.resistFingerprinting.reduceTimerPrecision.jitter`,
only controls whether Firefox Sync copies the setting to other devices; it
does not affect the hang.
## NVIDIA ## NVIDIA