How to set the KDE path?

Dotan Cohen dotancohen at gmail.com
Tue Feb 8 09:56:35 GMT 2011


On Mon, Feb 7, 2011 at 19:12, Stephen Dowdy <sdowdy at ucar.edu> wrote:
> 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
>


Thanks, but something is definitely wrong. Here, the script exists and
is executable just in case:
✈ganymede:~$ kde4-config --path exe
/home/dotancohen/.kde/lib/kde4/libexec/:/usr/lib/kde4/libexec/:/usr/bin/
✈ganymede:~$ ls -l .kde/env/
total 8
-rwxr-xr-x 1 dotancohen dotancohen 105 2010-12-10 07:20
gtk2-engines-qtcurve.rc.sh
-rwxr-xr-x 1 dotancohen dotancohen  41 2011-02-07 21:45 path.sh
✈ganymede:~$ cat .kde/env/path.sh
#!/bin/bash
export PATH=$HOME/.bin:$PATH
✈ganymede:~$

Naturally, I restarted the machine after creating the script, but this
is the situation.

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
___________________________________________________
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