Skip to content

Add ability to move ~/.processing directory #203

@processing-bot

Description

@processing-bot

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 via processing-java --help or the online documentation).

Steps to Reproduce

N/A

Your Environment

  • Processing version: 3.5.4
  • Operating System and OS version: Arch Linux (Linux kernel 5.9.3)
  • Other information: $XDG_CONFIG_HOME and $XDG_DATA_HOME are set and were not used by processing when deciding where to create this directory

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions