Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osx does not find the default config file #624

Closed
totaam opened this issue Aug 2, 2014 · 3 comments
Closed

osx does not find the default config file #624

totaam opened this issue Aug 2, 2014 · 3 comments

Comments

@totaam
Copy link
Collaborator

totaam commented Aug 2, 2014

Issue migrated from trac ticket # 624

component: platforms | priority: major | resolution: fixed | keywords: osx

2014-08-02 05:26:23: totaam created the issue


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).

@totaam
Copy link
Collaborator Author

totaam commented Aug 2, 2014

2014-08-02 09:59:16: totaam changed status from new to closed

@totaam
Copy link
Collaborator Author

totaam commented Aug 2, 2014

2014-08-02 09:59:16: totaam changed resolution from ** to fixed

@totaam
Copy link
Collaborator Author

totaam commented Aug 2, 2014

2014-08-02 09:59:16: totaam commented


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)

@totaam totaam closed this as completed Aug 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant