+The browser-switchboard-config Command-Line Configuration Tool:
+
+A command-line configuration utility is provided to allow programs and
+scripts to query and set Browser Switchboard configuration variables.
+For example,
+
+$ browser-switchboard-config -b
+
+will display the default browser, and
+
+$ browser-switchboard-config -s -b "opera"
+
+will set the default browser to Opera Mobile. See the help output from
+running browser-switchboard-config with no arguments for more
+information.
+
+The primary purpose of this tool is to allow browser vendors to provide
+an option in their browsers to set themselves as the default browser,
+via something like this (shell-like pseudocode):
+
+if [ -x /usr/bin/browser-switchboard-config ]; then
+ if [ `browser-switchboard-config -b` = "mybrowser" ]; then
+ display "MyBrowser is the default browser."
+ else
+ button "Make MyBrowser the default browser"
+ action "browser-switchboard-config -s -b mybrowser"
+ fi
+else
+ display "Install Browser Switchboard to make MyBrowser the default browser"
+fi
+
+Browser vendors: setting yourself as the default browser without
+prompting the user first (via package maintainer scripts, for example)
+is strongly discouraged.
+
+