imagej / imagej-common

ImageJ core data model
https://imagej.net/libs/imagej-common
BSD 2-Clause "Simplified" License
10 stars 18 forks source link

imagej fails to read/write ImageJ.cfg in a user-writable location when installed system wide #108

Open gdevenyi opened 1 year ago

gdevenyi commented 1 year ago

As a HPC system administrator, I have imagej installed in a module system (https://lmod.readthedocs.io/en/latest/) in a read-only location.

When a user attempts to change a setting, they are presented with this: image because of course the installation location is read-only for them.

ImageJ should honour Unix/Linux standards of placing configs either in $HOME/.imagej or even better the XDG standard, https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html which is configurable, but defaults to $HOME/.confg for config files.