LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-28-2010, 12:46 PM   #1
blnl
Member
 
Registered: Nov 2009
Location: The Netherlands
Distribution: Fedora
Posts: 93

Rep: Reputation: 1
Question Managing spelling checker languages in Fedora 12


I'm often switching between the following three languages to check spelling in evolution, firefox and gnote:
  • English / United States
  • Dutch / Netherlands
  • Croatian / Croatia

The problem is that the language list is huge, what makes switching between the languages difficult. There are more than 20 types of English spelling and 3 Duch spellings (see the screen-shot).

I would like to configure this language list, so that only the relevant languages are displayed.
Can someone please show me how to do that?
 
Old 04-02-2010, 09:02 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Firstly, it appears you can select more than one language at once in Evolution, so you shouldn't have to keep changing.
Secondly, try Add/Remove software from the System > Administration menu.
Search for aspell and uninstall the language packs you don't want.
You could also do the same for hunspell (depending if it's installed)
 
Old 04-03-2010, 01:47 PM   #3
blnl
Member
 
Registered: Nov 2009
Location: The Netherlands
Distribution: Fedora
Posts: 93

Original Poster
Rep: Reputation: 1
smoker: thank you for the reply.

Although it is possible, in Evolution I prefer to work with one language at the time. That way I can't accidentally mix the languages.

I tried removing software packages, but there are only three dictionaries installed:
Code:
[root@nc6000 boris]# yum list *spell*
Loaded plugins: fastestmirror, presto, refresh-packagekit, remove-with-leaves, show-leaves
Loading mirror speeds from cached hostfile
 * fedora: mirrors.nl.eu.kernel.org
 * rpmfusion-free: mirror.andreas-mueller.com
 * rpmfusion-free-updates: mirror.andreas-mueller.com
 * rpmfusion-nonfree: mirror.andreas-mueller.com
 * rpmfusion-nonfree-updates: mirror.andreas-mueller.com
 * updates: ftp.stw-bonn.de
Installed Packages
gtkspell.i686                  2.0.16-1.fc12          @updates                                 
hunspell.i686                  1.2.8-14.fc12          @updates                                 
hunspell-en.noarch             0.20090216-7.fc12      @anaconda-InstallationRepo-200911081854.i386
hunspell-hr.noarch             1:0.20040608-4.fc12    @fedora                                  
hunspell-nl.noarch             1.10-1.fc12            @fedora                                  
Available Packages

...
Besides that removing hunspell-en will remove all English dictionaries, it also wants to remove all of the OpenOffice applications (as shown below).
Code:
[root@nc6000 boris]# yum remove hunspell-en
Loaded plugins: fastestmirror, presto, refresh-packagekit, remove-with-leaves, show-leaves
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package hunspell-en.noarch 0:0.20090216-7.fc12 set to be erased
--> Processing Dependency: hunspell-en for package: 1:openoffice.org-core-3.1.1-19.28.fc12.i686
--> Running transaction check
---> Package openoffice.org-core.i686 1:3.1.1-19.28.fc12 set to be erased

...

Dependencies Resolved

===============================================================================================
 Package                         Arch   Version            Repository                     Size
===============================================================================================
Removing:
 hunspell-en                     noarch 0.20090216-7.fc12  @anaconda-InstallationRepo-200911081854.i386
                                                                                         1.6 M
Removing for dependencies:
 openoffice.org-brand            i686   1:3.1.1-19.28.fc12 @updates                      1.3 M
 openoffice.org-calc             i686   1:3.1.1-19.28.fc12 @updates                       61 k
 openoffice.org-calc-core        i686   1:3.1.1-19.28.fc12 @updates                       20 M
 openoffice.org-core             i686   1:3.1.1-19.28.fc12 @updates                      209 M
 openoffice.org-draw             i686   1:3.1.1-19.28.fc12 @updates                       39 k
 openoffice.org-draw-core        i686   1:3.1.1-19.28.fc12 @updates                      3.0 M
 openoffice.org-graphicfilter    i686   1:3.1.1-19.28.fc12 @updates                      565 k
 openoffice.org-impress          i686   1:3.1.1-19.28.fc12 @updates                       58 k
 openoffice.org-impress-core     i686   1:3.1.1-19.28.fc12 @updates                      3.8 M
 openoffice.org-langpack-en      i686   1:3.1.1-19.28.fc12 @updates                      0.0  
 openoffice.org-langpack-nl      i686   1:3.1.1-19.28.fc12 @updates                       35 M
 openoffice.org-math             i686   1:3.1.1-19.28.fc12 @updates                       23 k
 openoffice.org-math-core        i686   1:3.1.1-19.28.fc12 @updates                      3.8 M
 openoffice.org-pdfimport        i686   1:3.1.1-19.28.fc12 @updates                      3.5 M
 openoffice.org-presenter-screen i686   1:3.1.1-19.28.fc12 @updates                      3.6 M
 openoffice.org-writer           i686   1:3.1.1-19.28.fc12 @updates                       73 k
 openoffice.org-writer-core      i686   1:3.1.1-19.28.fc12 @updates                       16 M
 openoffice.org-xsltfilter       i686   1:3.1.1-19.28.fc12 @updates                      1.9 M

Transaction Summary
===============================================================================================
Remove       19 Package(s)
Reinstall     0 Package(s)
Downgrade     0 Package(s)

Is this ok [y/N]: n
Exiting on user Command
Complete!
[root@nc6000 boris]#
There must be some script/file, somewhere on my system, that defines what is displayed in the "Languages" drop-down menu. I need to know where, so I can try to edit the menu.
 
Old 04-03-2010, 02:27 PM   #4
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Hmm,seems silly.

Here's a link to the document relating to Evolution I found -
http://live.gnome.org/Evolution/FAQ#...ng_not_work.3F

Now without worrying too much about the details, it appears that "The GConf key /GNOME/Spell/language should contain a space-separated list of the languages you have enabled" so if you have gconf-editor installed or can install it you may be able to affect the available languages that way.
 
Old 10-05-2010, 06:42 AM   #5
blnl
Member
 
Registered: Nov 2009
Location: The Netherlands
Distribution: Fedora
Posts: 93

Original Poster
Rep: Reputation: 1
Lightbulb

Quote:
Originally Posted by smoker View Post
Now without worrying too much about the details, it appears that "The GConf key /GNOME/Spell/language should contain a space-separated list of the languages you have enabled" so if you have gconf-editor installed or can install it you may be able to affect the available languages that way.
I tried this, but I was not able to find any gconf keys that contain language list.

However, I just learned that /usr/share/myspell is the place of dictionaries.

By deleting the unnecessary languages, at least for gnote and thunderbird, the dictionary list is reduced. Now I can easily chose between the three dictionaries that I frequently use:

* English (en_US)
* Dutch (nl_NL)
* Croatian (hr_HR)

Unfortunately, this action does not affect the firefox dictionary list. There is still a huge list of dictionaries to choose from.
 
Old 10-08-2010, 08:40 AM   #6
blnl
Member
 
Registered: Nov 2009
Location: The Netherlands
Distribution: Fedora
Posts: 93

Original Poster
Rep: Reputation: 1
Talking

Today I noticed that also firefox dictionary list contains only three desired languages, although I didn't configure anything since my last reply. Possibly a reboot was required.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Evolution spelling checker not showing added languages ptemmerman Linux - Software 5 11-06-2008 04:49 AM
Thunderbird spelling checker zeky Linux - Software 1 10-22-2005 08:46 AM
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 02:19 AM
OOo Spell checker on Red Hat and Fedora (FIXED PLEASE READ) Ian_Hawdon Linux - Software 1 04-04-2005 04:11 AM
Developing a Spelling & Grammar Checker X11 Programming 4 05-26-2002 06:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration