Set the default html browser via command line

An example Chromium Browser:
gvfs-mime –set x-scheme-handler/http chromium-browser.desktop
gvfs-mime –set x-scheme-handler/https chromium-browser.desktop

An example Firefox:
gvfs-mime –set x-scheme-handler/http firefox.desktop
gvfs-mime –set x-scheme-handler/https firefox.desktop

An example Opera:
gvfs-mime –set x-scheme-handler/http opera-browser.desktop
gvfs-mime –set x-scheme-handler/https opera-browser.desktop

PS. WordPress shown the command wrong, so read the right command here