![]() |
2009-12-17
, 07:42
|
Posts: 432 |
Thanked: 645 times |
Joined on Mar 2009
|
#2
|
XML config, should those go under ~/.myapplication? I've read also about gconf, should I use that for simple configuration that can be changed (booleans, numbers etc.) and how do I initialize that configuration when installing? Also that should not be overwritten when updating to a newer version of application.
How about the other resources like audio files and images, should those go under .../usr/share? And what's the best way to refer to those, I hate to hardcode paths in the executable.
I have following stuff to be packaged.
- Executable
- XML config files
- Audio files
- Basic configuration that can be changed on the settings tab of my application
First of all, what kind of structure would be best for the installation? XML config, should those go under ~/.myapplication? I've read also about gconf, should I use that for simple configuration that can be changed (booleans, numbers etc.) and how do I initialize that configuration when installing? Also that should not be overwritten when updating to a newer version of application. How about the other resources like audio files and images, should those go under .../usr/share? And what's the best way to refer to those, I hate to hardcode paths in the executable.
I'm sure I could find out most of these issues, but I also do feel that these issues are open to lots of developers currently.