[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Renaming configuration files
From: Rivo Laks <rivolaks () hot ! ee>
Date: 2009-11-11 8:26:48
Message-ID: 200911111026.48181.rivolaks () hot ! ee
[Download RAW message or body]
Hi
I need to rename a configuration file. Usually it should be doable with
kconf_update, but I need the new name to include the computer's current
hostname. And as far as I can see, kconf_update doesn't let me have e.g. an
expression as the new filename.
So, any ideas on how to do this, preferably with kconf_update so that it
wouldn't be necessary to put this logic into the application code?
Some background info: I'm trying to fix bug #200157. The problem is that a
single config file is used when logging into a same user account from multiple
computers. This results in Phonon warning the user about missing soundcards.
I'm now trying to rename the config file to "phonondevices-${HOSTNAME}rc"
instead of just "phonondevicesrc", so that device info of different computers
would be stored separately.
Rivo
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic