Skip to content
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

Default KOLIBRI_HOME to $XDG_HOME/kolibri #63

Merged
merged 1 commit into from
Sep 15, 2023
Merged

Conversation

dbnicholson
Copy link
Member

Upstream Kolibri defaults KOLIBRI_HOME to ~/.kolibri, but in the Flatpak context it's much better to use $XDG_HOME/kolibri (~/.local/share/kolibri by default) so that the home directory doesn't need to be exposed in the sandbox. Currently we're setting that via the Flatpak finish args, but it's cleaner to handle that in the code as suggested by a Flathub developer.

Upstream Kolibri defaults `KOLIBRI_HOME` to `~/.kolibri`, but in the
Flatpak context it's much better to use `$XDG_HOME/kolibri`
(`~/.local/share/kolibri` by default) so that the home directory doesn't
need to be exposed in the sandbox. Currently we're setting that via the
Flatpak finish args, but it's cleaner to handle that in the code as
suggested by a Flathub developer.
@dylanmccall dylanmccall merged commit 7d5d0de into main Sep 15, 2023
2 checks passed
@dylanmccall dylanmccall deleted the default-kolibri-home branch September 15, 2023 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants