[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XBoard-devel] git issues
From: |
h.g. muller |
Subject: |
Re: [XBoard-devel] git issues |
Date: |
Fri, 20 Nov 2009 15:57:51 +0100 |
A freshly installed user program that wants to write by default to a
system configuration file (i.e. one in the /etc directory) would be *very*
uncommon in Linux (and against the very idea of system configuration files
which are supposed to be shared by all users).
There is usually system wide configuration file (or directory) created at
install time and a user specific one created when the user runs the
program for the first time. For example I have /etc/firefox-3.5 and
~/.mozilla/firefox-3.5/ (and I wouldn't expect firefox to dump a
configuration file in every
directory I run it from....).
In easy cases it is possible to dispense with the system wide
configuration file.
Well, you say the magic word: "installed". As long as they use "make install",
and we make sure this creates the /etc/xboard/xboard.conf, defining a
default for
the user settings file, everything works smoothly. They would only have
problems
when they do not properly install xboard.
When /etc/xboard/xboard.conf contains the lines:
-saveSettingsFile ~/.xboard/xboard.conf
-settingsFile ~/.xboard/xboard.conf
a user would only get complaints on saving when ~/.xboard did not exist, and
presumably he would be able to figure out how to solve that. (The alternative
would be to make XBoard iteratively try to create all directories in the path.)
And crazy users like me would be happy as well, because they would simply
change the ~/.xboard/xboard.conf into ./xboard.ini, to get the behavior they
desire.
- Re: [XBoard-devel] git issues, h.g. muller, 2009/11/19
- Message not available
- Re: [XBoard-devel] git issues, Michel Van den Bergh, 2009/11/20
- Re: [XBoard-devel] git issues,
h.g. muller <=
- Re: [XBoard-devel] git issues, Michel Van den Bergh, 2009/11/20
- Re: [XBoard-devel] git issues, h . g . muller, 2009/11/20
- Re: [XBoard-devel] git issues, Michel Van den Bergh, 2009/11/20
- Re: [XBoard-devel] git issues, Arun Persaud, 2009/11/20
- [XBoard-devel] Restoring window positions XBoard, h.g. muller, 2009/11/21
- Re: [XBoard-devel] Restoring window positions XBoard, Michel Van den Bergh, 2009/11/21
- Re: [XBoard-devel] Restoring window positions XBoard, Tim Mann, 2009/11/21
- Re: [XBoard-devel] git issues, h.g. muller, 2009/11/21
- Re: [XBoard-devel] git issues, Tim Mann, 2009/11/21