Skip to content

Commit

Permalink
[CrOS] Fix instructions for espeak-ng installation on Linux
Browse files Browse the repository at this point in the history
Previous instructions in 2530745 installed the whole espeak-ng tarball,
and not just the chrome-extension/ directory, under
/usr/share/chromeos-assets/speech_synthesis/espeak-ng .

Moreover attempt to provide instructions which would work on standard
linux / rodete to create the directory and set the permissions correctly.

R=dmazzoni@chromium.org, dtseng@chromium.org

Signed-off-by: Guido Trotter <ultrotter@chromium.org>
Change-Id: I41193bf02374f0bdde55371619ed4db72dae63e0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2536434
Reviewed-by: David Tseng <dtseng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#827571}
  • Loading branch information
Guido Trotter authored and Commit Bot committed Nov 14, 2020
1 parent f5595a3 commit d22bb1c
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/accessibility/chromevox_on_desktop_linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,13 @@ gsutil ls gs://chromeos-localmirror/distfiles/espeak*
Pick the latest version and

```
gsutil cp gs://chromeos-localmirror/distfiles/espeak-ng-20180801.tar.gz /usr/share/chromeos-assets/speech_synthesis/espeak-ng/
tar xvf /usr/share/chromeos-assets/speech_synthesis/espeak-ng/espeak-ng-20180801.tar.gz
rm /usr/share/chromeos-assets/speech_synthesis/espeak-ng/espeak-ng-20180801.tar.gz
TMPDIR=$(mktemp -d)
gsutil cp gs://chromeos-localmirror/distfiles/espeak-ng-20180801.tar.gz $TMPDIR
tar -C $TMPDIR -xvf ~/espeak-ng/espeak-ng-20180801.tar.gz
sudo mkdir -p /usr/share/chromeos-assets/speech_synthesis/espeak-ng/
sudo chown -R $(whoami) /usr/share/chromeos-assets/
cp -r $TMPDIR/espeak-ng/chrome-extension/* /usr/share/chromeos-assets/speech_synthesis/espeak-ng
rm -rf $TMPDIR
```

**Be sure to check permissions of /usr/share/chromeos-assets, some users report
Expand Down

0 comments on commit d22bb1c

Please sign in to comment.