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:
parent
e237c7d22a
commit
fad2ed73a9
32
README.md
32
README.md
@ -147,18 +147,38 @@ sudo pacman -S fcitx5-config-qt fcitx5-configtool fcitx5-gtk
|
||||
|
||||
## Default browser
|
||||
|
||||
LibreWolf is installed by [step 2](#step-2--add). Make it the default browser
|
||||
so it matches the assigned keybinding:
|
||||
LibreWolf is installed by [step 2](#step-2--add). Make it the default
|
||||
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
|
||||
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
|
||||
|
||||
In LibreWolf, open `about:config` and set
|
||||
`privacy.resistFingerprinting.reduceTimerPrecision.jitter` (both options) to
|
||||
`false`.
|
||||
claude.ai and chatgpt.com can hang LibreWolf with its fingerprinting
|
||||
protection's timer jitter enabled. In `about:config`, set
|
||||
`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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user