#624 closed defect (fixed)
osx does not find the default config file
Reported by: | Antoine Martin | Owned by: | Antoine Martin |
---|---|---|---|
Priority: | major | Milestone: | 0.14 |
Component: | platforms | Version: | trunk |
Keywords: | osx | Cc: |
Description
This means that OSX gets its defaults from the default config object, which may have different values.
This leads to discrepancies (like the lack of compressors or packet-encoders which was worked around in r7090).
Change History (2)
comment:1 Changed 7 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 5 weeks ago by
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/624
Note: See
TracTickets for help on using
tickets.
Refactored the code to make it cleaner / clearer in r7095.
We now have 2 config locations exposed via the
xpra.platform.path
module: the system default (get_global_conf_dir
) and the user config (get_default_conf_dir
).The system default config directory can be overriden using the environment variable
XPRA_SYSCONF_DIR
, otherwise it is set to:C:\Program Files\Xpra\
(or whatever the application's installation directory is) on win32/Volumes/Xpra/Xpra.app/Contents/Resources/
(or whatever the path to the resources directory is) on osx/etc/xpra
or/usr/local/etc
on posixThe user's configuration directory can be overriden using the environment variable
XPRA_CONF_DIR
, otherwise it is set to:~/.xpra
on posix and osx%APPDATA%\Xpra
on win32 (ie:C:\Documents and Settings\Username\Application Data\Xpra
)