-
Notifications
You must be signed in to change notification settings - Fork 73
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
Support the ' XDG' specification by not putting anything in the root of $HOME #324
Comments
Looking in In that case, the correct path is given by:
Alternatively, are there GNUstep-specific directories that should be used instead? There might need to be some logic to detect if As only two places in the code use |
In addition it seems oolite litters file not just in a dot-directory, but also in a visible directoy called "GNUstep". This absolutely should never happen. ~ $ tree GNUstep/
├── Defaults
│ ├── .lck
│ └── oolite.plist
└── Library
├── ApplicationSupport
│ └── Oolite
│ └── ManagedAddOns
└── Caches
└── org.aegidian.oolite
└── Oolite-cache.plist |
This GNUstep directory likely comes due to the Apple nature of the project where GNUstep is simply a requirement. |
That seems largely irrelevant? The program (or library) should conform to the platform native conventions for each platform. I.e. XDG on Linux, AppData on Windows, and whatever it happens to be on Mac (I believe they too use a directory, but it has been over a decade and a half since I last touched a mac, so I don't remember exactly). The GNUstep directory seems wildly non-conforming on all platforms. |
https://mediawiki.gnustep.org/index.php/Report_Bugs has instructions for reporting issues to the GNUStep library - that bit isn't something which can be fixed within Oolite. Moving ~/.Oolite to a more standardised default location (while continuing to support the existing one if it's already been created) could be done locally, yes. |
Hiya
It seems my Oolite installation on Linux creates
~/.Oolite
. This is not tidy! Why not use instead - as I believe a specification called XDG asserts (see e.g. this Firefox bug report) -~/config/Oolite
?The text was updated successfully, but these errors were encountered: