System Settings/File Associations: Difference between revisions

From KDE Wiki Sandbox
m (fix typos)
(Marked this version for translation)
Line 2: Line 2:
<translate>
<translate>


<!--T:1-->
{|class="tablecenter vertical-centered"  
{|class="tablecenter vertical-centered"  
|[[Image:Settings-file-associations.png|300px|thumb|center]]
|[[Image:Settings-file-associations.png|300px|thumb|center]]
Line 7: Line 8:
|}
|}


<!--T:2-->
{{PreferenceHelp}}
{{PreferenceHelp}}


<!--T:3-->
The workspace and the individual applications know the various kinds of files by their file type. This is what allows them to handle the different types of files appropriately. This settings dialog allows you to configure how any known file type is to be handled. It also lets you define new file types, or modify how a known type is recognized.
The workspace and the individual applications know the various kinds of files by their file type. This is what allows them to handle the different types of files appropriately. This settings dialog allows you to configure how any known file type is to be handled. It also lets you define new file types, or modify how a known type is recognized.


== Configuring known file types ==
== Configuring known file types == <!--T:4-->


<!--T:5-->
In the list in the left part of the window you will find a search tool and a list of all known file types collected in a number of groups. To find a file type enter part of its file type name or file name pattern in the input line at the top.
In the list in the left part of the window you will find a search tool and a list of all known file types collected in a number of groups. To find a file type enter part of its file type name or file name pattern in the input line at the top.


<!--T:6-->
{{Note|1=If you are searching for a file type based on its file name extension, you may need to enter the period character explicitly. For example, to find the file type for file, whose name ends in ".c" (source files for the programming language c), type <code>*.c</code> or even just <code>.c</code> but not <code>*c</code>. In this context the asterisk ("*") does not act as a wildcard sign.}}
{{Note|1=If you are searching for a file type based on its file name extension, you may need to enter the period character explicitly. For example, to find the file type for file, whose name ends in ".c" (source files for the programming language c), type <code>*.c</code> or even just <code>.c</code> but not <code>*c</code>. In this context the asterisk ("*") does not act as a wildcard sign.}}


<!--T:7-->
You can also browse the list of file types. Just expand the relevant category, and go through the list of file types that appear. Some of these list are very long, though.
You can also browse the list of file types. Just expand the relevant category, and go through the list of file types that appear. Some of these list are very long, though.


<!--T:8-->
To modify a file type, locate it in the list of file types and click on its name. Now you will see two tabs in the right side of the dialog.  
To modify a file type, locate it in the list of file types and click on its name. Now you will see two tabs in the right side of the dialog.  


<!--T:9-->
In the <menuchoice>General</menuchoice> tab you can change the icon associated with this type of file by clicking the icon button in the top left of the tab. You can add or remove file name patterns in the <menuchoice>Filename Patterns</menuchoice> list, thereby defining which files are recognized as having this type. The <menuchoice>Application Preference Order</menuchoice> list in the bottom part of the tab names the applications that will show up in the context menu, when you right click on a file of this type. The first application in the list is the the one that is used when you left click on the file.
In the <menuchoice>General</menuchoice> tab you can change the icon associated with this type of file by clicking the icon button in the top left of the tab. You can add or remove file name patterns in the <menuchoice>Filename Patterns</menuchoice> list, thereby defining which files are recognized as having this type. The <menuchoice>Application Preference Order</menuchoice> list in the bottom part of the tab names the applications that will show up in the context menu, when you right click on a file of this type. The first application in the list is the the one that is used when you left click on the file.


<!--T:10-->
The options in the <menuchoice>Embedding</menuchoice> tab affect how the file type is handled by [[Special:myLanguage/Konqueror|Konqueror]], when it is used as a file manager.
The options in the <menuchoice>Embedding</menuchoice> tab affect how the file type is handled by [[Special:myLanguage/Konqueror|Konqueror]], when it is used as a file manager.


== Adding new file types ==
== Adding new file types == <!--T:11-->


<!--T:12-->
To add a new file type click on the <menuchoice>Add...</menuchoice> button below the list of file types in the right side of the window. That brings up a dialog where you should select a group from the <menuchoice>Group</menuchoice> dropdown list and enter a name in the <menuchoice>Type Name</menuchoice> text field. Then click the <menuchoice>OK</menuchoice> button to create your new file type.
To add a new file type click on the <menuchoice>Add...</menuchoice> button below the list of file types in the right side of the window. That brings up a dialog where you should select a group from the <menuchoice>Group</menuchoice> dropdown list and enter a name in the <menuchoice>Type Name</menuchoice> text field. Then click the <menuchoice>OK</menuchoice> button to create your new file type.


<!--T:13-->
{{Note|1=You may need to go to the end of the list of files in the group to find your new file type.}}
{{Note|1=You may need to go to the end of the list of files in the group to find your new file type.}}


<!--T:14-->
Now you can edit the new file type in exactly the same way that you modified an existing file type.
Now you can edit the new file type in exactly the same way that you modified an existing file type.


<!--T:15-->
[[Category:Desktop]]
[[Category:Desktop]]
[[Category:System]]
[[Category:System]]
[[Category:Configuration]]
[[Category:Configuration]]
</translate>
</translate>

Revision as of 15:54, 12 July 2011

Modify an existing file type, or create a new one
Information
If you know something about these preferences then please help us by adding information. Don't worry about formatting. We will help you ensure that your text is properly formatted.


The workspace and the individual applications know the various kinds of files by their file type. This is what allows them to handle the different types of files appropriately. This settings dialog allows you to configure how any known file type is to be handled. It also lets you define new file types, or modify how a known type is recognized.

Configuring known file types

In the list in the left part of the window you will find a search tool and a list of all known file types collected in a number of groups. To find a file type enter part of its file type name or file name pattern in the input line at the top.

Note
If you are searching for a file type based on its file name extension, you may need to enter the period character explicitly. For example, to find the file type for file, whose name ends in ".c" (source files for the programming language c), type *.c or even just .c but not *c. In this context the asterisk ("*") does not act as a wildcard sign.


You can also browse the list of file types. Just expand the relevant category, and go through the list of file types that appear. Some of these list are very long, though.

To modify a file type, locate it in the list of file types and click on its name. Now you will see two tabs in the right side of the dialog.

In the General tab you can change the icon associated with this type of file by clicking the icon button in the top left of the tab. You can add or remove file name patterns in the Filename Patterns list, thereby defining which files are recognized as having this type. The Application Preference Order list in the bottom part of the tab names the applications that will show up in the context menu, when you right click on a file of this type. The first application in the list is the the one that is used when you left click on the file.

The options in the Embedding tab affect how the file type is handled by Konqueror, when it is used as a file manager.

Adding new file types

To add a new file type click on the Add... button below the list of file types in the right side of the window. That brings up a dialog where you should select a group from the Group dropdown list and enter a name in the Type Name text field. Then click the OK button to create your new file type.

Note
You may need to go to the end of the list of files in the group to find your new file type.


Now you can edit the new file type in exactly the same way that you modified an existing file type.