There's one additional problem: registering /snap/bin/firefox as an alternative appears to work (at least from update-alternatives' standpoint), but invoking e.g. gnome-www-browser doesn't, because /snap/bin/firefox is a symlink to /usr/bin/snap, and so the snap command is run with whatever parameters/URIs were passed to gnome-www-browser.
There's one additional problem: registering /snap/bin/firefox as an alternative appears to work (at least from update- alternatives' standpoint), but invoking e.g. gnome-www-browser doesn't, because /snap/bin/firefox is a symlink to /usr/bin/snap, and so the snap command is run with whatever parameters/URIs were passed to gnome-www-browser.
osomon@ dantian: ~$ update-alternatives --query gnome-www-browser gnome-www- browser google- chrome- stable
Name: gnome-www-browser
Link: /usr/bin/
Status: manual
Best: /usr/bin/
Value: /snap/bin/firefox
Alternative: /snap/bin/firefox
Priority: 50
Alternative: /usr/bin/firefox
Priority: 40
Alternative: /usr/bin/ google- chrome- stable
Priority: 200
osomon@ dantian: ~$ gnome-www-browser http:// example. org example. org", see 'snap help'.
error: unknown command "http://