TranslateProject/translated/tech/20140714 Set Default Browser on Debian or Ubuntu Using Terminal.md
2014-07-16 19:42:10 +08:00

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

利用终端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中国 荣誉推出