[kde-doc-english] [konversation] doc: Update utilities and directories to the new KF5 structure

Luigi Toscano luigi.toscano at tiscali.it
Sun Apr 10 15:53:37 UTC 2016


Git commit 8e9ffb57d8505e5b034759b502afb205544d9c4e by Luigi Toscano, on behalf of Yuri Chornoivan.
Committed on 10/04/2016 at 15:52.
Pushed by ltoscano into branch 'master'.

Update utilities and directories to the new KF5 structure

kde4-config is replaced with qtpaths or an internal Konversation command,
directories were changed.

REVIEW: 124711

M  +5    -16   doc/index.docbook

http://commits.kde.org/konversation/8e9ffb57d8505e5b034759b502afb205544d9c4e

diff --git a/doc/index.docbook b/doc/index.docbook
index e00eabd..ad0258e 100644
--- a/doc/index.docbook
+++ b/doc/index.docbook
@@ -2577,9 +2577,11 @@ passing it <userinput><replaceable>uname -a</replaceable></userinput>.  This sen
 <link linkend="scripts_ref">Script Reference Guide</link></para>
 
 <para>To get a list of all available scripts, type the following command in a
-&konsole; screen.</para>
+&konversation; screen.</para>
 
-<para><userinput>ls `kde4-config --install data`konversation/scripts</userinput></para>
+<para><userinput>/exec --showpath media</userinput></para>
+
+<para>Then browse to folder from the output to see the list.</para>
 
 <para>You can write your own scripts.  Scripts are shell scripts and can be written in
 any shell language, such as bash, perl, or python.  When &konversation; runs a script, the
@@ -2615,7 +2617,7 @@ in the tab without sending it to other users, use <computeroutput>info</computer
 instead.  Look at the existing script files for more examples of writing scripts.</para>
 
 <para>To be able to run a script you have written, you must install it by copying
-it to <filename class="directory">`kde4-config --install data`konversation/scripts</filename> or to <filename class="directory">`kde4-config --localprefix`share/apps/konversation/scripts</filename>.  You must also give the file execute
+it to <filename class="directory">`qtpaths --paths GenericDataLocation`/konversation/scripts</filename>.  You must also give the file execute
 privilege, for example <userinput><replaceable>chmod a+x myscript</replaceable></userinput>.</para>
 
 </sect1>
@@ -2672,19 +2674,6 @@ kernel bug report</replaceable></para>
 </varlistentry>
 
 <varlistentry>
-<term><userinput><command>/exec </command> <replaceable>kdeversion</replaceable></userinput>
-</term>
-<listitem>
-<para>This script is used to output the result of the command "kde4-config --version"</para>
-<para>Example: To output your current kdeversion. </para>
-<para><userinput><command>/exec </command> <replaceable>kdeversion</replaceable></userinput></para>
-<para>Sample output: <replaceable>Qt: 4.5.1
-                KDE: 4.2.85 (KDE 4.2.85 (KDE 4.3 Beta1))
-                kde4-config: 1.0</replaceable></para>
-</listitem>
-</varlistentry>
-
-<varlistentry>
 <term><userinput><command>/exec </command> <replaceable>mail</replaceable> [<replaceable>KMail Email Folder</replaceable>]</userinput>
 </term>
 <listitem>


More information about the kde-doc-english mailing list