Tried to set the default browser using the GUI tools but this didn't work overall. Is there a way to configure the system wide default browser from command line?
|
Execute the following command in terminal,to change the default browser.
Sample output:
Note:
Alternative GUI Method:
|
|||||||||||||
|
|
It depends a bit on what "default browser" exactly means, i.e. for what purpose you want to change the browser. Some programs ignore any system-wide settings and use their own settings. That said, you can set the default browser for all programs starting the browser with the generic
The other generic way of calling a browser is
If you want to configure a commandline-only browser like lynx, you have to configure |
|||
|
|
|
The already suggested methods might not work for some app (e.g. HipChat). I've had to do:
|
|||||||||
|
|
Try the following commands:
|
|||
|
|
|
Additional to those answer google-chrome has usually a symbolic link to the channel-specific version:
|
|||
|
|
|
Set Chrome as Default Browser from Command Line open -a "Google Chrome" --args --make-default-browser Read complete article here: http://www.blogcookie.com/2016/07/set-chrome-default-browser-command-line/ |
|||||
|

