As navit's settings autosave is a young/unimplemented feature at the moment, now is the time to make sure that you get the user data directory locations "done right" from the start.
See this Freedesktop spec: http://standards.freedesktop.org/basedir-spec/latest/
Especially: http://standards.freedesktop.org/basedir-spec/latest/ar01s03.html
I first heard about the xdg desktop dirs thing through this post, which does a good job at explaining the issue/challenges that this spec addresses: http://ploum.frimouvy.org/?184-cleaning-user-preferences-keeping-user-data
So, for example, navit would store files like this:
- $XDG_CACHE_HOME/navit/center.txt
- $XDG_CACHE_HOME/navit/destinations.txt
- $XDG_DATA_HOME/navit/maps/
- $XDG_CONFIG_HOME/navit/bookmarks.txt
- $XDG_CONFIG_HOME/navit/various_ui_and_routing_preferences.txt
... with their respective fallbacks (as described in the specs), of course. And the ones in italics are examples of potential files for future autosaved settings.