Linux Commands Examples

A great documentation place for Linux commands

kde4-config

Prints KDE installation paths

Synopsis

kde4-config [--expandvars] [--prefix] [--exec-prefix] [--libsuffix] [--localprefix] [--version] [--types] [--path type] [--userpath type] [--install type]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0

Print the top-level KDE installation directory:

% kde4-config --prefix

Print a list of all resource types:

% kde4-config --types

Print the installed wallpaper path:

% kde4-config --path wallpaper


0
source
            
if which kde4-config &> /dev/null; then
KDE_LOCAL_PREFIX=`kde4-config --localprefix`
fi
0
source
            
export KDEDIRS=$INSTALL_PREFIX:$(kde4-config --prefix)
alias cmake="cmake -DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX"

description

kde4-config is a command line program used to retrieve information about KDE installation or user paths.

Use this program to determine where the various aspects of the KDE installation reside on your system.

options

--expandvars

expand ${prefix} and ${exec_prefix} in output

--prefix

Compiled in prefix for KDE libraries

--exec-prefix

Compiled in exec_prefix for KDE libraries

--libsuffix

Compiled in library path suffix

--localprefix

Prefix in $HOME used to write files

--version

Compiled in version string for KDE libraries

--types

Print a list of all available KDE resource types

--path type

Search path for the specified type

--userpath type

User paths for the types: desktop|autostart|trash|document

--install type

Prefix to install resource files to


bugs

None known.


see also

kdeoptions


author

Stephan Kulow <coolo[:at:]kde[:dot:]org>

Author.

How can this site be more helpful to YOU ?


give  feedback