mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-01-31 23:30:11 +08:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
[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 browser’s 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/) 荣誉推出 |