mirror of
https://github.com/LCTT/TranslateProject.git
synced 2025-02-10 00:00:29 +08:00
完成翻译
This commit is contained in:
parent
dbf16f8039
commit
380afef6cd
@ -1,28 +0,0 @@
|
|||||||
[su-kaiyao]翻译中
|
|
||||||
|
|
||||||
[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/) 荣誉推出
|
|
@ -0,0 +1,25 @@
|
|||||||
|
利用终端(Terminal)在Debian/Ubuntu中设置默认浏览器
|
||||||
|
================================================================================
|
||||||
|
嘿,伙计们
|
||||||
|
|
||||||
|
在这篇文章中,我们将使用终端设置默认浏览器
|
||||||
|
|
||||||
|
虽然,可以很方便地使用浏览器主界面来设置为默认浏览器,但是有时,你需要远程做到这一点
|
||||||
|
|
||||||
|
要做到这一点,你只需简简单单的打开终端,然后执行下述的命令:
|
||||||
|
```
|
||||||
|
sudo update-alternatives --config x-www-browser
|
||||||
|
```
|
||||||
|
之后输入你想设置为默认的浏览器的号码,你就完成了!
|
||||||
|
|
||||||
|
真个过程截图如下:
|
||||||
|
![图片1](https://camo.githubusercontent.com/7eae55f5fac41634017c1fb5a8bd9cb634a86dc4/687474703a2f2f3138303031363938382e722e63646e37372e6e65742f77702d636f6e74656e742f75706c6f6164732f323031342f30372f6368616e67655f64656661756c745f62726f777365725f66726f6d5f7465726d696e616c5f64656269616e5f656e6f636b2e706e67)
|
||||||
|
|
||||||
|
你成功了吗?
|
||||||
|
|
||||||
|
---
|
||||||
|
via: http://www.unixmen.com/quick-tip-set-default-browser-debianubuntu-using-terminal/
|
||||||
|
|
||||||
|
译者:译者ID 校对:校对者ID
|
||||||
|
|
||||||
|
本文由 LCTT 原创翻译,Linux中国 荣誉推出
|
Loading…
Reference in New Issue
Block a user