-
-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add ability to move ~/.processing directory #203
Comments
Created by: benfry Thanks for the report… I see the |
Created by: Addisonbean Yes, Here's an incomplete list of common applications that use XDG directories by default (including XDG isn't limited to any particular kind of program. Notable tools from that list which use XDG directories to determine config locations include I know using XDG directories for config and related files is expected by many Linux users across many distros, but I don't know about the "standard" on macOS. I know many of those apps I listed use |
Created by: benfry Perfect, thanks; that's the information I was looking for. (Moving this over to the 4.x repository so I can work on it there.) |
Created by: benfry And back to your original request, would we be covered by using |
Created by: Addisonbean Personally, yes that would make me happy. However I imagine someone at some point will want it elsewhere, plus I like the flexibility offered by being able to move it anywhere so I think it's a good idea anyway. It seems weird to me to not have a way to change the location of the config, but it's not something I see myself using so I don't really care. |
Created by: benfry Ok, this is now implemented for 4.0 beta 1. Instead of the home directory, it'll use |
Created by: github-actions[bot] This issue has been automatically locked. To avoid confusion with reports that have already been resolved, closed issues are automatically locked 30 days after the last comment. Please open a new issue for related bugs. |
Created by: Addisonbean
Description
Processing uses
~/.processing
for it's data with no way to change that. It would be nice to be able to control the location of that directory so it can follow XDG directory specifications and keep users home directories clean.Expected Behavior
Processing should provide an environment variable to control where the processing data directory is found, and fall back to
~/.processing
if not specified.Current Behavior
There is no clearly documented way to move
~/.processing
to another location (there may be a way, however I was not able to find it viaprocessing-java --help
or the online documentation).Steps to Reproduce
N/A
Your Environment
$XDG_CONFIG_HOME
and$XDG_DATA_HOME
are set and were not used by processing when deciding where to create this directoryPossible Causes / Solutions
Add an environment variable that can provide an alternate location for
~/.processing
, and fall back to the old location if not specified.An even better solution would be to default to
~/.config/processing
unless$XDG_CONFIG_HOME
is set or if~/.processing
already exists.The text was updated successfully, but these errors were encountered: