[KDE-India] odd kde-config behavior

subbukk subbukk at gmail.com
Wed Dec 6 09:07:38 CET 2006


On Tuesday 05 December 2006 20:51, USM Bish wrote:
> bish:~$ kde-config --path config
> /home/bish/.kde/share/config/:/opt/kde-3.5.5/share/config/
Thank you for investigating it. /opt/kde-3.5.5 looks like a global config. 
It can be obtained by "kde-config --expandvars --install config". It can 
be different across distros. What happens when you create KDE profiles? 
Here is a simple procedure (as root) :
----
userid=bish
prof=testprof

alias profreg='kwriteconfig --file system.kdeglobals --group Directories'
alias mapreg='kwriteconfig --file /etc/kde-profiles/MAP'
profreg --key userProfileMapFile /etc/kde-profiles/MAP
profreg --key profileDirsPrefix /etc/kde-profiles
mapreg --group "Users" --key $userid $prof
mkdir -p /etc/kde-profiles/$prof/share/config
su -c "kde-config --path config" $userid
----

Subbu K. K.


More information about the KDE-india mailing list