How to set the KDE path?

Stephen Dowdy sdowdy at ucar.edu
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 gmx.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?)

e.g.:

sdowdy at zia:~/bin$ kde4-config --path exe
/home/sdowdy/.kde4/lib/kde4/libexec/:/usr/lib/kde4/libexec/:/usr/bin/


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

----------------------------------------------------------
#!/bin/sh
# 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"
done

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

exit 0

----------------------------------------------------------
--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy at ucar.edu        -  http://www.ral.ucar.edu/~sdowdy/

___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list