[lsb-discuss] dynamic vs static entries in user-config files

Andrius Kazimieras Kasparavicius andrius at andrius.org
Thu Sep 16 15:34:09 PDT 2004


Hello, I do not know who is responsible for the problem of user level config
files with static home path(/home/andrius instead ~andrius) in a lot of
software. F.E. when starting openoffice.org with user andrius it creates
user-config files with entries like:

[Versions]
OpenOffice.org 1.1.2=file:///home/andrius/.openoffice/1.1.2

but if one day I want to rename this user to other, these configs will fail
for it. And if I have a lot of accounts and want to manipulate with them.
Also it's becomes difficult to make skel(templates) for adding new users by
old ones config. There could be generated even not only text-based configs,
then these entries replacement makes more difficult. There is need for $home
instead /home/andrius/ . And for all(most common) software. Like standart.

am I right or wrong, or should do anything in other way?

there is examples:

andrius at mergele:~$ find . -type f -exec grep -l /home/andrius {} /dev/null \;
./.xsession-errors
./.kde/share/config/session/akregator_117f000001000109533003500000036490054_1
095342959_588830 ./.kde/share/config/kvircrc
./.kde/share/config/amarokrc
./.kde/share/config/komparerc
./.kde/share/config/amarokrc332s5a.new
./.kde/share/apps/kconf_update/update.log
./.qt/qtrc
./.mcop/trader-cache/cache-data-version
./.xchat2/xchat.conf
./.mozilla/firefox/default.197/prefs.js
./.mozilla/firefox/default.197/secmod.db
./.kvirc/config/kvi.frame.conf
./.kvircrc
./.openoffice/1.1.2/setup.log
./.openoffice/1.1.2/user/psprint/pspfontcache
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Setup.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Common.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.UserProfile.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Linguistic.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.VCL.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.ucb.Configuration.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Substitution.da
t
 ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.TypeDetection.
dat ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Inet.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Security.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Addons.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Views.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.ucb.Store.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Commands.dat
./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.ProtocolHandler
.dat ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Jobs.dat
 ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.UI.dat
 ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.Writer.dat
 ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.WriterWeb.dat
 ./.openoffice/1.1.2/user/registry/cache/org.openoffice.Office.SFX.dat
 ./.openoffice/1.1.2/user/registry/data/org/openoffice/Setup.xcu
./.openoffice/1.1.2/instdb.ins
./.sversionrc
./.giFT/giftd.conf
grep: ./DEADJOE: Permission denied
./.opera/opera6.ini
./.opera/mail/index.ini
andrius at mergele:~$



--
with best regards
Andrius Kazimieras Kasparavičius
GSM: +370 687 25630




More information about the lsb-discuss mailing list