On 2020-02-27, dmitry.sensei <dmitry.sen...@gmail.com> wrote: > Hi! > > How to make unveiled-Firefox as default browser ? > xterm > $firefox ><click @make firefox default browser"> > xterm output
Guessing but something along these lines: - see the pkg-readme about copying files to override pledge defaults - edit at least unveil.main, maybe unveil.content: - add "$XDG_CONFIG_HOME r" - change "$XDG_CONFIG_HOME/mimeapps.list" from "r" to "rwc" Try again, it might work, if not then look for more errors in output. Either remove the copy of unveil.* files after setting this up, or be sure to merge in changes from the original files when you update - these files are *not* copied with the @sample "config file" mechanism so you will not be warned at pkg_add -u time if they have changed. (It is annoying that /etc/firefox/unveil.* files set the default rather than just add to it, same for chromium, they are hard to work with as-is).