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

~/GNUstep #266

Open
ostrich opened this issue May 19, 2023 · 2 comments
Open

~/GNUstep #266

ostrich opened this issue May 19, 2023 · 2 comments

Comments

@ostrich
Copy link

ostrich commented May 19, 2023

Came across this one while running Window Maker.

The default user defaults dir for GNUstep apps is ~/GNUstep (how rude). This holds settings, but also holds icons and even potentially applications. So, imo, it should go in $XDG_DATA_HOME rather than $XDG_CONFIG_HOME.

Window Maker checks $WMAKER_USER_ROOT, so we can export WMAKER_USER_ROOT="$XDG_DATA_HOME"/GNUstep to take care of it.

However.

Based on the documentation here[1], GNUstep apps are supposed to check /etc/GNUstep/GNUstep.conf for GNUSTEP_USER_DEFAULTS_DIR (Window Maker does not do this). So, assuming this is accurate (and I did not test it), we will also need instructions to the effect of adding GNUSTEP_USER_DEFAULTS_DIR=$XDG_DATA_HOME/GNUstep to /etc/GNUstep/GNUstep.conf.

[1] Relevant section:

GNUSTEP_USER_DEFAULTS_DIR
Name of directory for user defaults files. Always relative to the user's home directory except:
On mswindows this may be set to be ':REGISTRY:' to have defaults stored in the windows registry rather than in the standard file format.
On any system this may be set to ':INTERNAL:' to use only internal defaults domains (NSArgumentDomain, NSRegistrationDomain, and GSConfigDomain)."

@flexagoon
Copy link
Contributor

Can you please test if the GNUSTEP_USER_DEFAULTS_DIR variable is necessary or if WMAKER_USER_ROOT is sufficient?

@ostrich
Copy link
Author

ostrich commented Jan 30, 2024

Unfortunately I am no longer running WindowMaker or GNUstep. I do recall that WMAKER_USER_ROOT was not sufficient to keep ~/GNUstep from being created.

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

2 participants