Set ubuntu default browser

From Bitpost wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
ew start_browser
 # set it to the flavor of the week
 # start with c-s-g, then set as default

# this seems the ugly necessary way in gnome
xdg-settings set default-web-browser firefox.desktop
# OR
xdg-settings set default-web-browser google-chrome.desktop

# this didn't do anything, maybe it's deprecated, but it's available still, doh
sudo update-alternatives --config x-www-browser # then pick a number