<div dir="ltr">Hello!<br><br>command: "which kdesu" returns "/usr/bin/kdesu" for my archlinux<br>command "readlink -f /usr/bin/kdesu" returns "/usr/lib/kf5/kdesu"<div>so maybe "readlink -f `which kdesu`" is what you are searching for?<br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-17 14:43 GMT+03:00 Harald Sitter <span dir="ltr"><<a href="mailto:sitter@kde.org" target="_blank">sitter@kde.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Moin<br>
<br>
I am currently trying to invoke kdesu from a script and having some<br>
trouble wrapping my head around how to actually find it in the file<br>
system.<br>
<br>
On neon (and all debians) we have it in<br>
/usr/lib/x86_64-linux-gnu/<wbr>libexec/kf5/kdesu<br>
<br>
That is: libexec/kf5 inside the libdir of ECM (I think)<br>
<br>
Now how do I determine where that is without having to resort to<br>
somehow fish that out of cmake (which requires development files to be<br>
installed and that is usually not the case on production systems)?<br>
<br>
In kdelibs4 times we hade kde4-config which has a compat replacement<br>
kf5-config in kdelibs4support, but that is deprecated in favor of<br>
qtpaths. qtpaths deals with XDG_ paths, not build time paths, or<br>
rather: the build time paths it supports are Qt's not<br>
KF5's/kde-cli-tools so they are entirely irrelevant for kdesu.<br>
<br>
Should this bugger maybe be in bin/ rather than libexec/?<br>
<span class="HOEnZb"><font color="#888888"><br>
HS<br>
</font></span></blockquote></div><br></div>