Re: How to set the KDE path?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 7, 2011 at 19:12, Stephen Dowdy <sdowdy@xxxxxxxx> wrote:
> Dotan Cohen wrote, On 02/07/2011 08:48 AM:
>> On Wed, Feb 2, 2011 at 15:32, Kevin Krammer <kevin.krammer@xxxxxx> 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@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.



[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux