Git commit 21a9b017bcbe9184dbee1fbdae5f4fd61ac93a66 by Yuri Chornoivan. Committed on 21/08/2020 at 10:45. Pushed by yurchor into branch 'master'.
Update: kde4-config -> kf5-config M +6 -6 doc/kdesu/index.docbook M +5 -5 doc/kdesu/man-kdesu.1.docbook https://invent.kde.org/plasma/kde-cli-tools/commit/21a9b017bcbe9184dbee1fbdae5f4fd61ac93a66 diff --git a/doc/kdesu/index.docbook b/doc/kdesu/index.docbook index 1389f21c..cf7a4e29 100644 --- a/doc/kdesu/index.docbook +++ b/doc/kdesu/index.docbook @@ -46,8 +46,8 @@ <!-- from kdebase/runtime/kdesu/FAQ since rev 855297 kdesu is a libexec program, so does not normally reside in your PATH. Use something like: -<command>$(kde4-config - -path libexec)kdesu - - program_to_run - +<command>$(kf5-config - -path libexec)kdesu - - program_to_run + https://bugs.kde.org/show_bug.cgi?id=194267 "one needs to create a ~/.kde/share/config/kdesurc file to tell KDE to use sudo instead of su." @@ -76,8 +76,8 @@ dialog, I consider it to be more of a command line <-> &GUI; glue instead of a pure &GUI; program.</para> <para>Since <command>kdesu</command> is no longer installed in <userinput> -$(kde4-config --prefix)</userinput>/bin but in <userinput>kde4-config --path libexec</userinput> -and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kde4-config +$(kf5-config --prefix)</userinput>/bin but in <userinput>kf5-config --path libexec</userinput> +and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kf5-config --path libexec)<command>kdesu</command></userinput> to launch <command>kdesu</command>.</para> </chapter> @@ -120,7 +120,7 @@ and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kde4 <term><option>-c <replaceable>command</replaceable></option></term> <listitem><para>This specifies the command to run as root. It has to be passed in one argument. So if, for example, you want to start a new file manager, you -would enter at the prompt: <userinput>$(kde4-config --path libexec)<command>kdesu <option>-c <replaceable> +would enter at the prompt: <userinput>$(kf5-config --path libexec)<command>kdesu <option>-c <replaceable> &dolphin;</replaceable></option></command></userinput></para></listitem> </varlistentry> <varlistentry> @@ -146,7 +146,7 @@ global &kde; configuration file.</para></listitem> just the name, without any extension.</para> <para>For instance to run &konqueror; in filemanager mode and show the &konqueror; icon in the password dialog:</para> -<screen><userinput>$(kde4-config --path libexec)<command>kdesu</command> <option>-i konqueror</option> +<screen><userinput>$(kf5-config --path libexec)<command>kdesu</command> <option>-i konqueror</option> <option>-c "konqueror --profile filemanagement"</option></userinput></screen> </listitem> </varlistentry> diff --git a/doc/kdesu/man-kdesu.1.docbook b/doc/kdesu/man-kdesu.1.docbook index c49ac2d0..365db911 100644 --- a/doc/kdesu/man-kdesu.1.docbook +++ b/doc/kdesu/man-kdesu.1.docbook @@ -66,8 +66,8 @@ password once for each command.</para> from <filename>.desktop</filename> files.</para> <para>Since <command>kdesu</command> is no longer installed in <userinput> -$(kde4-config --prefix)</userinput>/bin but in <userinput>kde4-config --path libexec</userinput> -and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kde4-config +$(kf5-config --prefix)</userinput>/bin but in <userinput>kf5-config --path libexec</userinput> +and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kf5-config --path libexec)<command>kdesu</command></userinput> to launch <command>kdesu</command>.</para> </refsect1> @@ -79,7 +79,7 @@ and therefore not in your <envar>Path</envar>, you have to use <userinput>$(kde4 <term><option>-c <replaceable>command</replaceable></option></term> <listitem><para>This specifies the command to run as root. It has to be passed in one argument. So if, for example, you want to start a new file manager, you -would enter at the prompt: <userinput>$(kde4-config --path libexec)<command>kdesu <option>-c <replaceable> +would enter at the prompt: <userinput>$(kf5-config --path libexec)<command>kdesu <option>-c <replaceable> &dolphin;</replaceable></option></command></userinput></para></listitem> </varlistentry> <varlistentry> @@ -178,7 +178,7 @@ url="help:/kdesu">help:/kdesu</ulink> <para>Run <command>kfmclient</command> as user <systemitem class="username">jim</systemitem>, and show the &konqueror; icon in the password dialog:</para> -<screen><userinput>$(kde4-config --path libexec)<command>kdesu</command> <option>-u jim</option> <option>-i konqueror</option> <command>kfmclient</command></userinput></screen> +<screen><userinput>$(kf5-config --path libexec)<command>kdesu</command> <option>-u jim</option> <option>-i konqueror</option> <command>kfmclient</command></userinput></screen> </refsect1> @@ -187,7 +187,7 @@ password dialog:</para> <para>&kdesu; was written by <personname><firstname>Geert</firstname><surname>Jansen</surname></personname> <email>[email protected]</email> and <personname><firstname>Pietro</firstname><surname>Iglio</surname></personname> -<email>[email protected]</email>. +<email>[email protected]</email>. </para> </refsect1>
