News for hackers. Stuff that matters.
Re:Show HN: boxxy – Control where Linux programs put files, ... by inamberclad on Thursday February 09, 2023 @06:50PM (#34733469)
Yep, have an old Java application that wants to put calibration data for a vector network analyzer right in my home directory. This is a perfect tool.
Re:Show HN: boxxy – Control where Linux programs put files, ... by iuafhiuah on Thursday February 09, 2023 @07:33PM (#34733913)
Another solution might be to override the root user directory like:

_JAVA_OPTIONS="-Djava.util.prefs.userRoot=${XDG_CONFIG_HOME}/programName" programName