HowTo Install and Run (gold): Balabolka, Ivona voices, Dolphin EasyReader

Questions about Wine on Linux
Locked
hajonnes
Level 2
Level 2
Posts: 10
Joined: Sat Oct 16, 2021 6:23 pm

HowTo Install and Run (gold): Balabolka, Ivona voices, Dolphin EasyReader

Post by hajonnes »

This is a howto to install and run latest Balaboka, ivona voices and Dolphin Easyreader perfectly in wine (gold).
Since I do not want to be a maintainer I can not update the official hompage of these programs but thought that others might want this information.
1) create a 32bit wineprefix.
2) Install the winetricks.
3) Install the programs.
4) create hotkeys
winetricks for Ivona + balabolka:
corefonts
d3dx9
msvcirt
speechsdk
vcrun2008
vcrun2010

wintricks for Ivona + balabolka + Dolpin EasyReader 6.04:
corefonts
d3dx9
msvcirt
speechsdk
vcrun2008
vcrun2010
ie7
msxml3

to access balabolka using a global hotkey:
create a custom shortcut to run this shellscript (If you use a bash shell: replace zsh with bash):

Code: Select all

#! /bin/zsh
xdotool key --window $( xdotool search --limit 1 --all --name Balabolka ) "ctrl+F5"
In balabolka set 'ctrl + F5' as a global hotkey to toggles play/paus.

To download Dolphin EasyReader 6.04: https://yourdolphin.com/en-gb/support/legacy-demos

Ivona voices are ok. but not as good as a.i. voices like mimic3 that exist for linux.
I'm pondering about migrating to linux, for those who also want tts and wonder about the best solution check these links:
https://www.linuxadictos.com/en/convert ... linux.html
https://zenquest.co/team/eben-farnworth ... -tts-linux
https://www.youtube.com/watch?v=KVBAYkSxv2E
https://zenquest.co/team/eben-farnworth ... -ai-rising
Thorium reader that I think can tts: https://zenquest.co/team/eben-farnworth ... -ai-rising
hajonnes
Level 2
Level 2
Posts: 10
Joined: Sat Oct 16, 2021 6:23 pm

Re: HowTo Install and Run (gold): Balabolka, Ivona voices, Dolphin EasyReader

Post by hajonnes »

It was a bit of a hazzle but I have added easyreader as well to the shellscript. The script senses what window is open so you can use the same keyboard shortcut to start/stop both applications. Given that you only have one open at a time.
The shellscript worked in the terminal but not the shell. There is a difference of variables set in the different environment, it might be the reason it did not work in the shell.
I had to envoke the shell script with

Code: Select all

 konsole -e /path/to/shell scirpt.sh 
for it to work, konsole is my terminal applicaiton, -e is the option that konsole should execute the command (shell script).
hajonnes
Level 2
Level 2
Posts: 10
Joined: Sat Oct 16, 2021 6:23 pm

Re: HowTo Install and Run (gold): Balabolka, Ivona voices, Dolphin EasyReader

Post by hajonnes »

here is the script:

Code: Select all

#! /bin/zsh


if   (xdotool search --onlyvisible --desktop "$(xdotool get_desktop)" --name EasyReader) > /dev/null
then
	declare -i w=$(xdotool getactivewindow)
	xdotool windowactivate --sync $(xdotool search --onlyvisible --desktop "$(xdotool get_desktop)" --name EasyReader) key F5
	xdotool windowactivate $w


elif   (xdotool search --limit 1 --all --name Balabolka) > /dev/null
then
xdotool key --window $( xdotool search --limit 1 --all --name Balabolka ) "ctrl+F5"
fi
Locked