[kde-cli-tools] doc/kcontrol/filetypes: add attica kcm doc + update for filetypes

Burkhard Lück lueck at hube-lueck.de
Fri Nov 11 23:25:31 UTC 2016


Git commit 2398a5f2a02fa16ffaebbe3983a3dadbc9c53f49 by Burkhard Lück.
Committed on 10/11/2016 at 16:24.
Pushed by lueck into branch 'master'.

add attica kcm doc + update for filetypes
CCMAIL:gladhorn at kde.org
BUG:218833

svn path=/trunk/KDE/kdebase/runtime/; revision=1071338

M  +23   -0    doc/kcontrol/filetypes/index.docbook

http://commits.kde.org/kde-cli-tools/2398a5f2a02fa16ffaebbe3983a3dadbc9c53f49

diff --git a/doc/kcontrol/filetypes/index.docbook b/doc/kcontrol/filetypes/index.docbook
index d099494..4273164 100644
--- a/doc/kcontrol/filetypes/index.docbook
+++ b/doc/kcontrol/filetypes/index.docbook
@@ -279,6 +279,29 @@ dialog box, you can select the application you want to use for this mime
 type.  Click <guibutton>OK</guibutton> when you are done, and the
 application will be added to the current list.</para>
 
+<para>To change the options of an application for a particular &MIME; type 
+select it in the list and then press the <guibutton>Edit..</guibutton> button. 
+This opens a new dialog with <guilabel>General</guilabel>, 
+<guilabel>Permissions</guilabel>, <guilabel>Applications</guilabel> and
+<guilabel>Preview</guilabel> tabs.
+On the <guilabel>Applications</guilabel> tab you can edit <guilabel>Name</guilabel>,
+<guilabel>Description</guilabel> and <guilabel>Comment</guilabel>.
+In the <guilabel>Command</guilabel> field you can have several place holders 
+following the command, which will be replaced with the actual values 
+when the actual program is run:</para>
+<itemizedlist>
+<listitem><para>%f - a single file name</para></listitem>
+<listitem><para>%F - a list of files; use for applications that can open several local files 
+at once</para></listitem>
+<listitem><para>%u - a single URL</para></listitem>
+<listitem><para>%U - a list of URLs</para></listitem>
+<listitem><para>%d - the folder of the file to open</para></listitem>
+<listitem><para>%D - a list of folders</para></listitem>
+<listitem><para>%i - the icon</para></listitem>
+<listitem><para>%m - the mini-icon</para></listitem>
+<listitem><para>%c - the caption</para></listitem>
+</itemizedlist>
+
 <para>You can remove an application (thereby ensuring that the
 application will never run with this &MIME; type by clicking once on the
 name of the application, and clicking the <guibutton>Remove</guibutton>



More information about the kde-doc-english mailing list