How to set the KDE path?

Stephen Dowdy sdowdy at
Mon Feb 7 17:12:12 GMT 2011

Dotan Cohen wrote, On 02/07/2011 08:48 AM:
> On Wed, Feb 2, 2011 at 15:32, Kevin Krammer <kevin.krammer at> wrote:
>> A combination of paths in $PATH and KDE specific "non-interactive-binaries"
>> paths.
>> See kde4-config --path exec
> There is nothing but a blank line there, maybe that is the issue:
> ✈ganymede:~$ kde4-config --path exec
> ✈ganymede:~$

Dotan, i believe it's "--path exe" (not exec)
unfortunately, kde{,4}-config returns a blank string for any
path type it doesn't know, instead of throwing an error.
(maybe it's dynamically extensible to understand run-time
added types?)


sdowdy at zia:~/bin$ kde4-config --path exe

btw, Here's a script i use to get all KDE kde-config info, 
in one-fell-swoop.

# Get some Configuration info on KDE

#kdeconf() { kde3-config "$@" ;}   # KDE3
kdeconf() { kde4-config "$@" ;}   # KDE4

kdeconf --version

#KDE3#for upath in desktop trash autostart document; do
for upath in desktop autostart document; do
  printf "UserPath ${upath}=$(kdeconf --userpath ${upath})\n"

while read ktype ksep kdescription; do
  printf "PATH(${ktype}) [${kdescription}]\n  $(kdeconf --path ${ktype})\n"
done <<EOF
$(kdeconf --types)

exit 0

Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy at        -

This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list