2
0
mirror of https://github.com/LCTT/TranslateProject.git synced 2025-03-03 01:10:13 +08:00
TranslateProject/sources/tech/20140714 Set Default Browser on Debian or Ubuntu Using Terminal.md

26 lines
1.1 KiB
Markdown
Raw Normal View History

2014-07-14 19:17:12 +08:00
[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/) 荣誉推出