Re: How to add words to system spell-checking dictionary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/09/17 11:02, Andrew Toskin wrote:
> I have not set $DICTIONARY. When testing hunspell on the command line, I always just rain `hunspell test.txt` with no other arguments.
>
> Renaming to ~/.hunspell_default did not fix the spell-checking in other applications. However, strangely, it did *break* spell-checking via the hunspell CLI. `hunspell test.txt` only works when my personal dictionary is named `~/.hunspell_en_US`.


I believe the problem may stem from the fact that each application is
using its own version of a user specified dictionary.

For example, when you use spell-check with Thunderbird and select "Add
to Dictionary" on a indicated word your selection will go into a file
~/.thunderbird/profilename/persdict.dat.  And if you do the same with a
LibreOffice application it will go to
~/.config/libreoffice/4/user/wordbook/standard.dic .

You will notice that when you used "hunspell -D"
.config/libreoffice/4/user/wordbook is not included in the SEARCH PATH.

Now, what one "could" do is, taking the Thunderbird example, link
~/.thunderbird/profilename/persdict.dat with ~/.hunspell_en_US.  But
that too presents a problem.  While Tbird will read from the file it
won't be able to write to the file to add new words as the selinux
context won't allow for it as is.

Applications don't seem to reference ~/.hunspell_LANG

-- 
Fedora Users List - The place to go to get others to do the work for you
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux