You are not logged in.

#1 2017-09-23 03:15:56

Pouletic
Member
Registered: 2015-10-25
Posts: 18

[helium-dev] Automatically install spell-check dictionary?

I gave up on waiting for an official helium release and installed it on an extra partition using the net install instructions. It went smoothly for the most part. I did get some weird behavior when i tried the theme switcher.

One thing that was left out of the installation instructions that i ran into was that you need to add your hostname not just to /etc/hostname but /etc/hosts (as 127.0.1.1  yourhostname) or you get network errors when trying to sudo.

One thing that i think would be nice is if the bunsen install would also include the appropriate dictionary file for the LibreOffice Writer spell check (the dictionary would be based on the localization, i guess). Maybe it's not practical but it would be a nice touch, especially because it's not immediately clear how to do it. The debian wiki is really outdated and suggests packages that no longer exist, but i finally got what i needed (American English) with

apt-get install hunspell-en-us



Thanks for the work on this! Looks great...

Offline

#2 2017-09-23 04:04:51

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,661
Website

Re: [helium-dev] Automatically install spell-check dictionary?

Thanks for the feedback Pouletic. smile

Pouletic wrote:

I did get some weird behavior when i tried the theme switcher.

Could you expand on this a little?

One thing that was left out of the installation instructions that i ran into was that you need to add your hostname not just to /etc/hostname but /etc/hosts (as 127.0.1.1  yourhostname) or you get network errors when trying to sudo.

If it's not too much trouble, maybe you could post a comment to Head_on_a_Stick's How-To thread? This is an issue with the debootstrap installation, rather than helium-dev as such.

One thing that i think would be nice is if the bunsen install would also include the appropriate dictionary file for the LibreOffice Writer spell check (the dictionary would be based on the localization, i guess)

...i finally got what i needed (American English) with

apt-get install hunspell-en-us

I hit the same problem some time ago. The problem, as you point out, is that the choice of package depends on the language(s) the user wants to support. Maybe we need a bit of documentation here, rather than have the installer try to guess?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2017-09-23 10:01:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: [helium-dev] Automatically install spell-check dictionary?

Pouletic wrote:

One thing that was left out of the installation instructions that i ran into was that you need to add your hostname not just to /etc/hostname but /etc/hosts (as 127.0.1.1  yourhostname) or you get network errors when trying to sudo.

Nice catch, thanks!

Mea culpa, don't know how I missed that one hmm

I have edited the guide to include the instruction.

Offline

#4 2017-09-23 10:34:58

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,754

Re: [helium-dev] Automatically install spell-check dictionary?

Would myspell be the same thing as hunspell or not?

apt-cache depends myspell-en-gb
myspell-en-gb
  Depends: hunspell-en-gb

There is also interesting (fat) extension
https://extensions.libreoffice.org/exte … nguagetool

One thing that i think would be nice is if the bunsen install would also include the appropriate dictionary file for the LibreOffice Writer spell check (the dictionary would be based on the localization, i guess).

Hard to patch that to what would user really want, geo location would also fail I guess.

whereami

curl ipinfo.io 2>/dev/null | jq '.country'

Perhaps a good-enough guess would to install dicts that are patched to 'locale -a' AND geosniffer^.

Last edited by brontosaurusrex (2017-09-23 12:07:58)

Offline

#5 2017-09-25 14:20:58

Bearded_Blunder
Dodging A Bullet
From: Seat: seat0; vc7
Registered: 2015-09-29
Posts: 1,146

Re: [helium-dev] Automatically install spell-check dictionary?

How big of a deal is the dictionary issue?  Just saying because not even the enemy try this, you have to visit settings even in M$ Office to get the UK dictionary.  Plus if someone is set to Portuguese, do you supply Portugal or Brazil?  There are many others.

I guess if users are installing LibreOffice from the pipemenu, you could simply *ask* what they want.. maybe present a list?

How do other distros handle this? I've not really played with many, "playtime" tends to be Gentoo, for the learning experience - not that I usually end up with a glitch-less system, *they* expect you to learn everything by search-engine and set it yourself... very good at using up free-time, and learning where configs live, not so great for getting anything done...

Didn't hit the hostname thing, then I didn't follow HoaS' guide slavishly.. just did a netinstall booted from the cd and picked up the instructions at wget and run netinstall script.


Blessed is he who expecteth nothing, for he shall not be disappointed...
If there's an obscure or silly way to break it, but you don't know what.. Just ask me

Offline

#6 2017-09-25 16:50:45

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: [helium-dev] Automatically install spell-check dictionary?

The good thing about LibreOffice related stuff is that such instructions are relatively easy to find (mostly at least). As far as I can remember, whatever issue I had with it - e.g. recover-loop after a document was open and the machine shut down -, there were threads already with related questions and solutions.

I don't know really where to ask it, but it's Helium-dev related for me: Which part (i.e. which settings) are responsible for highlighting a menu-line? E.g. right click on the network icon in the systray, menu appears, but I do not get that "highlight" line while choosing one option. It's the same with input fields, e.g. when I open the forum login page, there are no fields visible to write the login details (same with e.g. Catfish). I have to click there and the field is there, it just has the same color as the background.

Offline

#7 2017-09-26 05:30:20

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [helium-dev] Automatically install spell-check dictionary?

Pouletic wrote:

One thing that i think would be nice is if the bunsen install would also include the appropriate dictionary file for the LibreOffice Writer spell check (the dictionary would be based on the localization, i guess). Maybe it's not practical but it would be a nice touch, especially because it's not immediately clear how to do it.

Personally, I wouldn't try to automate that, but rather create another helpful openbox root menu entry.

Last edited by ohnonot (2021-07-02 07:21:35)

Offline

#8 2017-09-26 05:44:36

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,754

Re: [helium-dev] Automatically install spell-check dictionary?

Yeah, that would require the raise of AI.

Offline

Board footer

Powered by FluxBB