[gspell] flatpak: write some notes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gspell] flatpak: write some notes
- Date: Fri, 15 Jun 2018 11:15:46 +0000 (UTC)
commit ed349b7da686f0c14122f83943259d4eb68db999
Author: Sébastien Wilmet <swilmet gnome org>
Date: Fri Jun 15 12:48:44 2018 +0200
flatpak: write some notes
docs/flatpak-notes | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
---
diff --git a/docs/flatpak-notes b/docs/flatpak-notes
new file mode 100644
index 0000000..86e37ed
--- /dev/null
+++ b/docs/flatpak-notes
@@ -0,0 +1,19 @@
+gspell flatpak notes
+====================
+
+gspell is currently not installed as part of the GNOME runtime, so it needs to
+be bundled with the app.
+
+hunspell and hunspell dictionaries are installed by the Flatpak freedesktop.org
+runtime, they are not shared with the host OS. See:
+https://gitlab.com/freedesktop-sdk/freedesktop-sdk/ (git grep -in hunspell).
+
+Adding words to the personal dictionary works, but each Flatpak app has a
+different personal dictionary. For example for Polari the personal dictionary
+is stored in:
+~/.var/app/org.gnome.Polari/config/enchant/
+It works thanks to the XDG_CONFIG_HOME environment variable (Enchant calls the
+g_get_user_config_dir() GLib function).
+To share personal dictionaries between Flatpak apps, maybe a good solution is
+to set the ENCHANT_CONFIG_DIR environment variable to a common path (if set, it
+has a higher priority than XDG_CONFIG_HOME).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]