mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-03-03 01:10:13 +08:00
26 lines
1.1 KiB
Markdown
26 lines
1.1 KiB
Markdown
|
[Quick Tip] Set Default Browser on Debian/Ubuntu Using Terminal
|
|||
|
================================================================================
|
|||
|

|
|||
|
|
|||
|
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
|
|||
|
|
|||
|

|
|||
|
|
|||
|
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/) 荣誉推出
|