Re: How to set the KDE path?

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

 



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

----------------------------------------------------------
--stephen
-- 
Stephen Dowdy  -  Systems Administrator  -  NCAR/RAL
303.497.2869   -  sdowdy@xxxxxxxx        -  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.



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