←back to thread

Grayjay Desktop App

(grayjay.app)
512 points pierrelf | 1 comments | | HN request time: 0s | 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 #
SpaghettiCthulu ◴[] No.42475680[source]
You should be using `~/.local/share`, `~/.config`, and other standard directories on Unix systems. macOS has its own conventions.
replies(1): >>42475742 #
zamalek ◴[] No.42475742[source]
You shouldn't even use those, at least hardcoded. Follow the XDG Base Directories spec: https://specifications.freedesktop.org/basedir-spec/latest/
replies(1): >>42476133 #
1. SpaghettiCthulu ◴[] No.42476133[source]
Ah, right. Good point!