Comme quoi :
1. il ne faut pas baisser les bras
2. la coopération -> ça fonctionne

Code : Tout sélectionner
$ python3 dictcli.py
usage: dictcli [-h] {list,update,remove-old,install} ...
dictcli: error: the following arguments are required: cmd
Code : Tout sélectionner
$ python3 dictcli.py install fr-FR
Installing fr-FR: French (France)
/home/lionux/.local/share/qutebrowser/qtwebengine_dictionaries does not exist, creating the directory
Downloading https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git/+/master/fr-FR-3-0.bdic?format=TEXT
Done.
Code : Tout sélectionner
$ python3 dictcli.py install en-EN
invalid languages: en-EN
Code : Tout sélectionner
$ python3 dictcli.py install en-GB
Installing en-GB: English (United Kingdom)
Downloading https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git/+/master/en-GB-8-0.bdic?format=TEXT
Done.
$ python3 dictcli.py install en-US
Installing en-US: English (United States)
Downloading https://chromium.googlesource.com/chromium/deps/hunspell_dictionaries.git/+/master/en-US-8-0.bdic?format=TEXT
Done.
Code : Tout sélectionner
$ cd ~/.local/share/qutebrowser/scripts
$ python -m scripts.dictcli -h
/usr/bin/python: No module named scripts
Code : Tout sélectionner
# DO NOT edit this file by hand, qutebrowser will overwrite it.
# Instead, create a config.py - see :help for details.
config_version: 2
settings:
aliases:
global:
q: quit
w: session-save
wq: quit --save
scrolling.bar:
global: true
scrolling.smooth:
global: true
spellcheck.languages:
global:
- fr-FR
- en-US
Code : Tout sélectionner
"""A script installing Hunspell dictionaries.
Use: python -m scripts.dictcli [-h] {list,update,remove-old,install} ...
"""
Code : Tout sélectionner
$ python3 dictcli.py
usage: dictcli [-h] {list,update,remove-old,install} ...
dictcli: error: the following arguments are required: cmd
J'ai lu cette ligne de commande dans le script et je l'ai essayé et comme elle renvoie une erreur j'ai pensé que c'est la cause du non-fonctionnement, mais comme tu l'as aussi, ce n'est pas cela ! Bon, bien cela fonctionne aujourd'hui suite à une mise à jour ! :icon_e_biggrin:dezix a écrit : 11 oct. 2018, 21:16mais je ne comprends pas pourquoi tu utilises scripts.dictcliCode : Tout sélectionner
$ cd ~/.local/share/qutebrowser/scripts $ python -m scripts.dictcli -h /usr/bin/python: No module named scripts
![]()
~/.local/share/qutebrowser/qtwebengine_dictionaries$ ls -aildezix a écrit : 11 oct. 2018, 21:29 dans le navigateur, la commande c'est p.ex :
:set spellcheck.languages "['fr-FR', 'en-US']"
Il faut préciser la(es) langue(s) que tu veux activer .
et dans : ~/.local/share/qutebrowser/qtwebengine_dictionaries
tu as tes dicos ?
--gilles-- a écrit : 12 oct. 2018, 12:57 J'espère que les utilisateurs de qutebrowser profiteront de ce tutoriel. Merci à toi.