On Feb 15, 2007, at 8:24 AM, Don Jungk wrote:

On Wednesday 14 February 2007 3:00 pm, Tim Jones wrote:
On Feb 14, 2007, at 1:02 PM, Stan Busk wrote:
Hi,

Is '.conf' the best choice for a preference file on Linux? I am
just trying to follow standards.

Yes.  Or, if you're saving your preferences file inside of the Linux
app's folders, you can just name it config and not use an extension.
If you'll be saving it in a generic location, such as /etc/ or the
user's home directory, then naming it myApp.conf (or .myApp.conf if
in the user's home) is correct.
Tim
--
Tim Jones
[EMAIL PROTECTED]

Are you sure this is standard? I took a look at some of the pref files on my system and "rc" added to the name seems to be pretty common. I see things
like ".kderc" for the invisible pref file for KDE. I also see the
name "config" used for something else. When a program is delivered as a
source file, it seems to be something that the MAKEFILE process uses.

If you dig, you'll find just as many .conf or config files (/etc/ host.conf, /etc/rc). A search of my FC6 system brought up 643 .conf files, 87 config files, and 721 rc files. Back in the olden days, they were tables, so you' find names like "printtab" and "mnttab" and a search of my system turned up 83 tab files. As with everything under Linux - YMMV. If you don't like doing things one way, I'm sure that you can find references to indicate that other agree or disagree with your choice.

So, is MyApp.conf OK, sure. Is .MyApprc OS, also sure. Does .MyApp.conf or a config file inside of a .MyApp folder make more sense to new Linux users? Absolutely.

Tim
--
Tim Jones
[EMAIL PROTECTED]


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to