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

Re: [Devel] solution to the skolelinux spellchecking bug



On Fri, Jul 18, 2003 at 04:44:20PM +0200, Conrad Newton wrote:
> I have modified the wrapper script /usr/bin/openoffice so that it
> installs an activated spell-checker the first time the user starts
> openoffice.  The key point is that there has to be a file Linguistic.xml
> installed with the correct values.  My modified script, located at
> 
> http://developer.skolelinux.no/~conrad/scripts/openoffice.new
> 
> creates the appropriate file in the .openoffice subdirectory of the
> user's $HOME directory the first time that he/she starts openoffice.
> After the inital installation, the function install_spell_checker
> remains inactive, so any subsequent configuration will be unaffected.
> 
> Let me know if there are any problems.  I hope that this closes bug
> 
> http://bugs.skolelinux.no/show_bug.cgi?id=365

Maybe better to discuss the bug in bugzilla? At least post the same
information there.

> 
> ---------------------------
> <test>
> You can try it out yourself.  If you have already created an .openoffice
> directory, save it with
> 
> mv .openoffice .openoffice-bak
> mv .sversionrc .sversionrc-bak
> 
> Then download the above script, make it executable and run it:
> 
> chmod 755 openoffice.new
> ./openoffice.new &
> 
> When you are done testing, you can retrieve your original values with
> 
> rm -rf .sversionrc .openoffice
> mv .openoffice-bak .openoffice
> mv .sversionrc-bak .sversionrc
> 
> </test>
> ----------------------------
> 
> The spellchecking you get will normally depend on your LANG variable
> (to check it, echo $LANG).  For most of you this will be bokmal, but 
> if the site administrator has installed nynorsk, you will get a nynorsk
> spell-checker.
> 
> To see how openoffice.new differs from the original wrapper script,
> 
> diff -u /usr/bin/openoffice openoffice.new | less
> 
> Conrad
> 
> 
> _______________________________________________
> Devel mailing list
> Devel@xxxxxxxxxxxxx
> https://init.linpro.no/mailman/skolelinux.no/listinfo/devel