Rockbox General > Rockbox General Discussion

Re: Constuctive suggestion/Attracting more users/Install theme with first launch

<< < (2/6) > >>

tucoz:

--- Quote from: bluebrother on January 24, 2007, 05:11:28 AM ---Maybe simply add a good configuration in the root folder and call it "configuration.cfg".

--- End quote ---

We could also call it "run_1st.cfg", "try_me.cfg" or something like that. Or, we could play a little game and call it "warning_dont_touch.cfg" :)

Spug:
Speaking of the "magic Rockbox folder" - is there a good reason why it's not set to "hidden" by default? Is it there so users can reset Rockbox easily?

Bagder:

--- Quote from: Spug on January 24, 2007, 08:55:17 AM ---Speaking of the "magic Rockbox folder" - is there a good reason why it's not set to "hidden" by default? Is it there so users can reset Rockbox easily?

--- End quote ---

It is hidden on all *nix-like systems (since it starts with a dot) and on the rest it can't be set hidden since then the hidden bit is a feature of the filesystem and not something we can ship in a zip file.

pabouk:

--- Quote from: linuxstb on January 24, 2007, 04:59:28 AM ---We don't want to ship default config.cfg files - that will overwrite the user's current settings...

--- End quote ---
The current code does not really support default configuration in a file. I think that Rockbox should check for the presence of config.cfg and only if the file is not found it should load default.cfg which could be easily shipped with the firmware.

Llorean:
My thought was that there could be a default.cfg and a current.cfg. If current.cfg does not exist, default is used, but user's settings are stored in current.cfg instead. So, a clean install gets default.cfg, but user settings are never overwritten because current.cfg isn't included.

Then you can easily package target-specific settings, that way.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version