At first make stop and start lauchers which are working via mouse click
===================================
nano vosk-end
… the contents
#!/bin(bash
cd nerd-dictation && ./nerd-dictation end && killall python3
…. save and quit
Ctrl o
Ctrl x
… set executable
chmod +x vosk-end
===========================================
nano vosk-start
… the contents
#!/bin/bash
cd nerd-dictation && ./nerd-dictation begin
…. save and quit
Ctrl o
Ctrl x
… set executable
chmod +x vosk-start
=====================================
nano nerd-dictation-start
… the contents
#!/bin/bash
cd nerd-dictation && ./nerd-dictation begin --vosk-model-dir=./model &
…. save and quit
Ctrl o
Ctrl x
… set executable
chmod +x nerd-dictation-start
============================================
———————————————
===========================================
Install nerd-dictation and vosk
https://github.com/ideasman42/nerd-dictation
sudo apt install python3-pip git xdotool
pip3 install vosk
git clone https://github.com/ideasman42/nerd-dictation.gi
t
cd nerd-dictation
wget https://alphacephei.com/kaldi/models/vosk-model-small-en-us-0.15.zip
unzip vosk-model-small-en-us-0.15.zip
mv vosk-model-small-en-us-0.15 model
mkdir -p $HOME/.config/nerd-dictation/model
mv $HOME/nerd-dictation/model ~/.config/nerd-dictation
——————————————————————–
test vosk and make sure that vosk-end has made and it is workable!
cd nerd-dictation && ./nerd-dictation begin --vosk-model-dir=./model &
If you cannot stop vosk, kill python3
killall python3
Install also srt for subtitles
pip install srt