You are not logged in.
Lately I have been cleaning up my "Documents" folder (I want to get rid of it and only have a "Dokumente" folder
) and an application whose folder always keeps being created there is Anki.
There is the possibility to pass the profile path as a command line argument Anki. So as a specific workaround for myself I can add the parameter in the .desktop file.
However this makes me wonder if this is the right way to do it or if there is a better mechanism to provide this kind of package level configuration in Arch?
Personally I feel like "~/Documents/Anki" might be the wrong location for this kind of profile data and it would be better located in "~/.Anki" or "~/.anki" however I am not sure if this constitutes an actual packaging bug or if Arch considers upstream's default decisison to be the right one in this case? Any opinions on this?
Offline
Moving from Arch Discussion to Applications & Desktop Environments.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
I'm not a dev/TU, but as a rule packages stick to upstream as much as possible. At least that's my understanding. IOW regardless of anyone's opinion of upstream choice, I doubt it would be accepted as a packaging bug.
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
If you are annoyed on seeing the Documents folder, you can set the documents directory to some other directory (preferably a hidden one).
Offline
Thanks x33a I didn't know there was xdg-user-dirs. Configuring it was really as easy as it sounds and Anki respects its configuration (however I will probably still go with my first mentioned workaround but keep xdg-user-dirs for future applications). I still believe that this directory would have been better be located in "~/.anki" by default because it essentially stores configuration and profile data but if consensus is to just respect this upstream decision then I guess I am kind of ok with that.
Offline
I was going to ask you to open an upstream feature request, but apparently this issue has been raised multiple times in the past.
https://github.com/dae/anki/pull/58
In any case, don't expect our packagers to modify upstream choices.
Offline