
$ xdg-settings set default-web-browser firefox-esr. Local settings can also be found in the users' home in ~/.config/mimeapps.list. xdg-settings can be used to both get and change the default browser. Some applications use xdg-open (part of xdg-utils). # update-alternatives -config x-www-browserĭefault for foreign programs (user-specific)

The default browser for generic applications can be changed for the whole system by reconfiguring the x-www-browser alternative.
#Change default browser mac#
For example, Thunderbird ignores desktop environment-specific browser settings. Safari is the default web browser that is used when launching site entries via the LastPass Mac desktop app, and this default setting cannot currently be. Programs which are not designed for the user's desktop environment do not obey the browser settings of the desktop environment (GNOME or KDE). Have you ever wondered why? For the sake of completeness, this is an official wiki page from Debian: Foreign applications Default for foreign programs (system-wide) The top two answers here both look promising, yet only one of them worked for me. It will Open a Window.Now you can choose your preferred browser to set it default.You can also set the default browser in Gnome applications,type the following in terminal and press Enter.Sudo update-alternatives -config www-browserĪlternate way is to add the following line export BROWSER=/usr/bin/firefox to your ~/.bashrc If you want to configure a commandline browser,then you have to configure If i want google-chrome as default browser then I will type 3 and hit enter. Scroll down to HTTPS and click the name of the current default browser (ex: Edge. Right now I have firefox as my default web browser. Scroll down and select the browser you want to be the new default (ex: Google Chrome). There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

Sample output: sudo update-alternatives -config x-www-browser Sudo update-alternatives -config x-www-browser Execute the following command in terminal,to change the default browser.
