xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#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 (1)

comment:1 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

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 posix

The 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)
Last edited 5 years ago by Antoine Martin (previous) (diff)
Note: See TracTickets for help on using tickets.