[prev in list] [next in list] [prev in thread] [next in thread]
List: openbox
Subject: [openbox] _OB_CONFIG_FILE property
From: dana () orodu ! net (Dana Jansens)
Date: 2010-05-14 1:37:39
Message-ID: 9F93D391-1B50-4369-8D37-B9E4003945CA () orodu ! net
[Download RAW message or body]
On 2010-05-13, at 6:41 PM, Eric Bohlman wrote:
> Is there any reason why this property is set only if a config file is specified on \
> the command line? It would save a bunch of guesswork in utilities like OBApps or \
> OBMenu if it were set even if one of the default config files were used.
If _OB_CONFIG_FILE is set, it specifies a file that is tried before all the defaults. \
If it fails to load, then the file is looked for in the regular places, \
$XDG_CONFIG_HOME, and $XDG_CONFIG_PATH. Setting it to whatever was read is not the \
same, this specifies the first location that will be read from when reconfiguring. \
It seems pretty straightforward rather than guessing, and looking in multiple places \
will always be necessary, for instance when the user has no config and a global \
config has to be read. Changes still need to be written in a different place \
(_OB_CONFIG_FILE, or in $XDG_CONFIG_HOME).
Dana
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic