←back to thread

47 points breezk0 | 1 comments | | HN request time: 0.208s | source

Title.

I think it is very rude to just install to any "default" directory and not asks the user where he wants it to be installed.

Show context
alphazard ◴[] No.45772796[source]
I agree with the sentiment; I also want to control where things are installed. But the framing of the technical problem here is totally backwards.

The operating system or application manager within the operating system (what does flatpak consider itself?) should decide where all application state goes. The application shouldn't ever prompt the user for this, it should just assume a path inside a sandbox. That path inside the sandbox will get mapped to where-ever outside the sandbox, and that's where the user exercises control.

We already see this pattern emerging with docker images. Everything assumes `/data` is a good place to store things, and `/config` is a good place to read configuration from. I want every application to do this. If I want it to store state, then I'll decide to map those to directories that are persisted.

replies(3): >>45772834 #>>45773030 #>>45774071 #
1. whalesalad ◴[] No.45772834[source]
100% agree with this.