Announcement

Collapse
No announcement yet.

Spell checking in Falkon?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Spell checking in Falkon?

    Has anyone managed to get spell checking working in the Falkon browser?

    I've tried following the instructions on the Falkon web site https://userbase.kde.org/Falkon#Spell_Check but I don't seem to have the qwebengine_convert_dict utility that it says comes comes with QtWebEngine. I can't find any Ubuntu package that installs qwebengine_convert_dict.

    Thanks!
    Last edited by bendy; Oct 03, 2020, 01:33 AM. Reason: Solved

    #2
    Could you provide the exact commands you ran and what the exact responses were?

    I'm getting:

    Code:
    $ locate .dic | grep -i hunspell
    /usr/share/hunspell/en_US.dic
    $ qwebengine_convert_dict /usr/share/hunspell/en_US.dic $HOME/Desktop/en_US.bdic
    qwebengine_convert_dict: command not found
    $
    Maybe one needs to install qtwebengine5-dev-tools? Let's wait for more knowledgeable opinions before installing anything with "-dev-tools" in the package name

    Yet another edit: see https://packages.ubuntu.com/focal-up...tools/filelist

    Code:
    /usr/lib/qt5/bin/qwebengine_convert_dict
    /usr/lib/x86_64-linux-gnu/qt5/bin/qwebengine_convert_dict
    /usr/share/doc/qtwebengine5-dev-tools/changelog.Debian.gz
    /usr/share/doc/qtwebengine5-dev-tools/copyright
    Last edited by chimak111; Sep 28, 2020, 03:44 AM.
    Kubuntu 20.04

    Comment


      #3
      Thanks chimak111 ! That put me on the right track. Yes, you need to install the dev tools package as you suggested, which provides qwebengine_convert_dict. However that file location didn't seem to be in my executable path and wouldn't run straight away, and I also had to sudo to run it.

      In the end this got it working:
      Code:
      cd /usr/lib/qt5/bin/
      sudo ./qwebengine_convert_dict /usr/share/hunspell/en_GB.dic /usr/share/qt5/qtwebengine_dictionaries/en_GB.bdic
      That converted the dictionary and put it in the correct directory, and then I could enable it in Falkon settings.

      Thanks again!

      Comment


        #4
        My main browser is Brave and, as the Falkon wiki mentions, Falkon uses the same type of (Chromium) dictionary format. So, I could get by without installing the dev tools package. I just ran
        sudo cp $HOME/.config/BraveSoftware/Brave-Browser/Dictionaries/*.bdic /usr/share/qt5/qtwebengine_dictionaries/ (after creating the /qtwebengine_dictionaries/ subfolder).

        Since Brave is my main browser,
        sudo ln -s $HOME/.config/BraveSoftware/Brave-Browser/Dictionaries/*.bdic /usr/share/qt5/qtwebengine_dictionaries/ makes more sense.
        Last edited by chimak111; Oct 04, 2020, 07:22 AM.
        Kubuntu 20.04

        Comment

        Working...
        X