LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Spell Checking in Arch Linux (https://www.linuxquestions.org/questions/linux-software-2/spell-checking-in-arch-linux-786974/)

MTK358 02-04-2010 09:10 AM

Spell Checking in Arch Linux
 
I noticed that in Arch Linux there is no spell checking (like, for example, the wavy red lines under words while writing this post). Is there some package I have to install?

carbonfiber 02-04-2010 09:46 AM

Works fine here. But I don't remember if it was working before I updated my system yesterday. Give it a shot with an up-to-date mirror. What browser are you using?

MTK358 02-04-2010 09:55 AM

Firefox "Shiretoko"

carbonfiber 02-04-2010 10:10 AM

"Namoroka" over here. Try an update.

MTK358 02-04-2010 11:05 AM

Shiretoko is what's and the Arch repo.

carbonfiber 02-04-2010 11:11 AM

I don't exactly know why I'm trying to convince you. Anyway:

Code:

# pacman -Qi firefox
Name          : firefox
Version        : 3.6-2

Tschuss.

MTK358 02-04-2010 11:29 AM

Code:

$ sudo pacman -S firefox
Password:
warning: firefox-3.5.7-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): firefox-3.5.7-1 

Total Download Size:    0.00 MB
Total Installed Size:  3.58 MB

Proceed with installation? [Y/n] n


carbonfiber 02-04-2010 11:39 AM

http://www.archlinux.org/packages/extra/i686/firefox/
Use a mirror that is up-to-date, KTHNX.

MTK358 02-04-2010 11:56 AM

But that says i686, I have x86_64.

And are you really supposed to somehow change the repo?

MTK358 02-04-2010 12:32 PM

I just got a littile confused. Anyway, so you're saying my arch repo mirror is out of date? How do I choose one? I chose them right after installation using that special script that finds the fastest ones like described in the Arch Wiki Beginners Guide.

xamaco 02-04-2010 12:45 PM

Spell checking works fine on my arch machine.

Have you tried:
Code:

pacman -Syy
It's going to force a reload of all packages even if they are supposed to be up to date...

MTK358 02-04-2010 12:55 PM

Code:

$ sudo pacman -Syy
Password:
:: Synchronizing package databases...
 core                      36.1K  134.5K/s 00:00:00 [#####################] 100%
 extra                    441.8K  173.3K/s 00:00:03 [#####################] 100%
 community                370.6K  169.2K/s 00:00:02 [#####################] 100%
$ sudo pacman -S firefox
warning: firefox-3.5.7-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): firefox-3.5.7-1 

Total Download Size:    0.00 MB
Total Installed Size:  3.58 MB

Proceed with installation? [Y/n] n


MTK358 02-04-2010 12:58 PM

Quote:

Originally Posted by xamaco (Post 3852762)
Spell checking works fine on my arch machine.

Did you install any spell-checking packages, or did it yust work from the start?

And I wonder if a spell checker comes with GNOME and KDE, maybe that's why it seems to work for others (I don't use GNOME or KDE).

EDIT: it seems like I do have aspell installed.

xamaco 02-04-2010 02:15 PM

I don't remember what I did exactly. The only dictionary I have is ispell. And my version of Firefox is 3.6.2 : A very recent upgrade (Monday or Tuesday).
Have you tried pacman -Syu firefox to upgrade ? If you cannot find the 3.6.2 version, one of your repositories must be out of sync.

Frankly I'm quite new with Arch. For my daily work, I use Ubuntu. I really enjoy Arch but I use it mainly for pleasant experimentation. It allows me to test the latest software : Firefox 3.6 is really faster than 3.5 ...

MTK358 02-04-2010 02:48 PM

I installed ispell (which I didn't have) and there still isn't any spell checking in this box where I'm typing the post.

pacman -Syu firefox didn't do anything.

I still wonder why I don't get Firefox 3.6?

carbonfiber 02-04-2010 03:28 PM

http://www.archlinux.org/packages/extra/x86_64/firefox/

I use DWM and I've not installed any spelling-related packages by hand. `pacman -Qs spell` only indicates 'hunspell' which was installed as a dependency of xulrunner, which, in turn, is a dependency of firefox.

You can change the mirror by editing /etc/pacman.d/mirrorlist.

You can check out https://users.archlinux.de/~gerbra/mirrorcheck.html to see the status of the various mirrors.


Edit: Just curious about something. In firefox: Edit -> Preferences -> Advanced -> General -> Browsing -> Check my spelling as I type (is it checked? do you even have it?)

MTK358 02-04-2010 03:36 PM

Quote:

Originally Posted by carbonfiber (Post 3853017)
http://www.archlinux.org/packages/extra/x86_64/firefox/

I use DWM and I've not installed any spelling-related packages by hand. `pacman -Qs spell` only indicates 'hunspell' which was installed as a dependency of xulrunner, which, in turn, is a dependency of firefox.

I checked and I do have hunspell installed.

Quote:

Originally Posted by carbonfiber (Post 3853017)
You can change the mirror by editing /etc/pacman.d/mirrorlist.

You can check out https://users.archlinux.de/~gerbra/mirrorcheck.html to see the status of the various mirrors.

I will check that out soon.

Quote:

Originally Posted by carbonfiber (Post 3853017)
Edit: Just curious about something. In firefox: Edit -> Preferences -> Advanced -> General -> Browsing -> Check my spelling as I type (is it checked? do you even have it?)

I have it and it was checked. I was actually wondering if Firefox had some setting for this.

MTK358 02-04-2010 03:54 PM

I made mirrorlist contain one mirror, which wasn't listed more than a day old on your link, but still nothing.

EDIT: I re-ran the rankmirrors script to return back to normal. The only out-of-date package was "glib2".

MTK358 02-06-2010 07:55 AM

Today I ran pacman -Syu again, and got a HUGE amount of updates (about 2 pages worth on my terminal), including Firefox 3.6!

I'll see what happens...

MTK358 02-06-2010 08:54 AM

I have the latest Firefox and spell checking works now!

xamaco 02-07-2010 04:27 AM

Cool 8)
Maybe you should deactivate your first mirror. Or rerun the python script 'rankmirrors'. There is also the site https://users.archlinux.de/~gerbra/mirrorcheck.html
Once I had problems with my top mirror (the mirror is now OK)... This kind of things can put you in trouble - although in the end everything got corrected. The danger of a rolling release system I guess.

I hope you appreciate Firefox 3.6...

MTK358 02-07-2010 07:15 AM

Quote:

Originally Posted by xamaco (Post 3855480)
Cool 8)
Maybe you should deactivate your first mirror. Or rerun the python script 'rankmirrors'. There is also the site https://users.archlinux.de/~gerbra/mirrorcheck.html
Once I had problems with my top mirror (the mirror is now OK)... This kind of things can put you in trouble - although in the end everything got corrected. The danger of a rolling release system I guess.

I think I already tried a lot of those things.

Quote:

Originally Posted by xamaco (Post 3855480)
I hope you appreciate Firefox 3.6...

Seems to work good for now. At least the spell checking works now and I don't make so many typos in my posts!

MTK358 03-24-2010 03:07 PM

I quit using a desktop environment (Xfce) in favor of a window manager, and spell checking is gone again!

I wonder why?


All times are GMT -5. The time now is 08:04 AM.