←back to thread

Grayjay Desktop App

(grayjay.app)
510 points pierrelf | 2 comments | | HN request time: 0.402s | source
Show context
bisby ◴[] No.42474981[source]
Launching the Linux release and noticed in the logs:

Directories:User Directory: /home/bisby/Grayjay

And there is a directory there now. I absolutely hate having stuff automatically create anything in my home directory like this. Ideally, this should be following XDG directory guidelines on linux: https://specifications.freedesktop.org/basedir-spec/latest/

replies(4): >>42475304 #>>42479118 #>>42482018 #>>42483636 #
koen31 ◴[] No.42475304[source]
Grayjay dev here. If you want it to use your user directory like other apps, just remove the file called "Portable". Keep in mind that it just uses your working directory to write files otherwise.
replies(7): >>42475423 #>>42475680 #>>42475733 #>>42475939 #>>42475958 #>>42476022 #>>42476313 #
1. atoav ◴[] No.42476313[source]
Please just adhere to the XDG-standards. Although my co-poster here didn't use the most diplomatic way of phrasing their grievance Grayjay is better off if it sticks to well established standards.

You would probably look weird at an software that installs itself in C:\MYAWESOMEAPPLICATION instead of using the Windows program folder like literally every other piece of software (except for legacy stuff like LTSpice). Creating visible directories in the home folder without asking is the Linux equivalent of doing just that.

Check if the XDG environment variables are set and store your stuff in these places — as it is now can be used as a last resort fallback. For reading config/data you do the same.

replies(1): >>42477795 #
2. nullpoint420 ◴[] No.42477795[source]
This. Hopefully the other post won't discourage them!