translated

This commit is contained in:
Locez 2016-07-25 15:12:08 +08:00 committed by GitHub
parent 67e1480656
commit 180ba8b638

View File

@ -1,64 +1,63 @@
translating by Locez
HOW TO CHANGE DEFAULT APPLICATIONS IN UBUNTU
怎样在 UBUNTU 中修改默认程序
==============================================
![](https://itsfoss.com/wp-content/uploads/2016/07/change-default-applications-ubuntu.jpg)
Brief: This beginners guide shows you how to change the default applications in Ubuntu Linux.
简介: 这个新手指南会向你展示如何在 Ubuntu Linux 中修改默认程序
Installing [VLC media player][1] is one of the first few [things to do after installing Ubuntu 16.04][2] for me. One thing I do after installing VLC is to make it the default application so that I can open video file with VLC when I double click it.
对于我来说,安装 [VLC 多媒体播放器][1]是[安装完 Ubuntu 16.04 该做的事][2]中最先做的几件事之一。为了能够使我双击一个视频就用 VLC 打开,在我安装完 VLC 之后我会设置它为默认程序。
As a beginner, you may need to know how to change any default application in Ubuntu and this is what I am going to show you in todays tutorial.
作为一个新手,你需要知道如何在 Ubuntu 中修改任何默认程序,这也是我今天在这篇指南中所要讲的。
### CHANGE DEFAULT APPLICATIONS IN UBUNTU
### 在 UBUNTU 中修改默认程序
这里提及的方法适用于所有的 Ubuntu 12.04Ubuntu 14.04 和Ubuntu 16.04。在 Ubuntu 中,这里有两种基本的方法可以修改默认程序:
The methods mentioned here are valid for all versions of Ubuntu be it Ubuntu 12.04, Ubuntu 14.04 or Ubuntu 16.04. There are basically two ways you can change the default applications in Ubuntu:
- 通过系统设置
- 通过右键菜单
- via system settings
- via right click menu
#### 1.通过系统设置修改 Ubuntu 的默认程序
#### 1. CHANGE DEFAULT APPLICATIONS IN UBUNTU FROM SYSTEM SETTINGS
Go to Unity Dash and search for System Settings:
进入 Unity 面板并且搜索系统设置System Settings
![](https://itsfoss.com/wp-content/uploads/2013/11/System_Settings_Ubuntu.jpeg)
In the System Settings, click on the Details option:
在系统设置System Settings选择详细选项Details
![](https://itsfoss.com/wp-content/uploads/2016/07/System-settings-detail-ubuntu.jpeg)
In here, from the left side pane, select Default Applications. You will see the option to change the default applications in the right side pane.
在左边的面板中选择默认程序Default Applications你会发现在右边的面板中可以修改默认程序。
![](https://itsfoss.com/wp-content/uploads/2016/07/System-settings-default-applications.jpeg)
As you can see, there are only a few kinds of default applications that can be changed here. You can change the default applications for web browser, email client, calendar app, music, videos and photo here. What about other kinds of applications?
正如看到的那样,这里只有少数几类的默认程序可以被改变。你可以在这里改变浏览器,邮箱客户端,日历,音乐,视频和相册的默认程序。那其他类型的默认程序怎么修改?
Dont worry. To change the default applications of other kinds, well use the option in the right click menu.
不要担心,为了修改其他类型的默认程序,我们会用到右键菜单。
#### 2. CHANGE DEFAULT APPLICATIONS IN UBUNTU FROM RIGHT CLICK MENU
#### 2.通过右键菜单修改默认程序
If you have ever used Windows, you might be aware of the “open with” option in the right click menu that allows changing the default applications. We have something similar in Ubuntu Linux as well.
Right click on the file that you want to open in a non-default application. Go to properties.
如果你使用过 Windows 系统,你应该看见过右键菜单的“打开方式”,可以通过这个来修改默认程序。我们在 Ubuntu 中也有相似的方法。
右键一个还没有设置默认打开程序的文件选择“属性properties
![](https://itsfoss.com/wp-content/uploads/2016/05/WebP-images-Ubuntu-Linux-3.png)
>Select Properties from Right Click menu
>从右键菜单中选择属性
And in here, you can select the application that you want to use and set it as default.
在这里,你可以选择使用什么程序打开,并且设置为默认程序。
![](https://itsfoss.com/wp-content/uploads/2016/05/WebP-images-Ubuntu-Linux-4.png)
>Making gThumb the default application for WebP images in Ubuntu
>在 Ubuntu 中设置打开 WebP 图片的默认程序为 gThumb
Easy peasy. Isnt it? Once you do that, all the files of the same kind will be opened with your chosen default application.
I hope you found this beginners tutorial to change default applications in Ubuntu helpful. If you have any questions or suggestions, feel free to drop a comment below.
小菜一碟不是么?一旦你做完这些,所有同样类型的文件都会用你选择的默认程序打开。
我很希望这个新手指南对你在修改 Ubuntu 的默认程序时有帮助。如果你有任何的疑问或者建议,可以随时在下面评论。
--------------------------------------------------------------------------------
via: https://itsfoss.com/change-default-applications-ubuntu/?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ItsFoss+%28Its+FOSS%21+An+Open+Source+Blog%29
作者:[Abhishek Prakash][a]
译者:[译者ID](https://github.com/译者ID)
译者:[译者ID](https://github.com/locez)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出