TranslateProject/sources/tech/20140714 Set Default Browser on Debian or Ubuntu Using Terminal.md
2014-07-14 19:17:12 +08:00

26 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[Quick Tip] Set Default Browser on Debian/Ubuntu Using Terminal
================================================================================
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/07/Browsers-790x436.jpg)
Hey Guys,
In this post, we are going to use the terminal to make a browser default.
Even though, this can easily be done using the browsers main interface, is handy sometimes if you need to do this remotely.
To do this you simply open up the terminal and run the line of code below:
Enter the number beside the browser you wish to make default and you are done.
sudo update-alternatives --config x-www-browser
![](http://180016988.r.cdn77.net/wp-content/uploads/2014/07/change_default_browser_from_terminal_debian_enock.png)
Enjoy!
--------------------------------------------------------------------------------
via: http://www.unixmen.com/quick-tip-set-default-browser-debianubuntu-using-terminal/
译者:[译者ID](https://github.com/译者ID) 校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创翻译,[Linux中国](http://linux.cn/) 荣誉推出