# Ubuntu and openhab 1.8.3 - google tts no sound

**URL:** <https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282>\
**Category:** Text-to-Speech\
**Created:** [August 14, 2016, 9:35pm UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282 "2016-08-14T21:35:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrzej\_szymkowicz](https://community.openhab.org/user_avatar/community.openhab.org/andrzej_szymkowicz/32/4107_2.png) [@andrzej\_szymkowicz](https://community.openhab.org/u/andrzej_szymkowicz)\
**Post date:** [August 14, 2016, 9:35pm UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282/1 "2016-08-14T21:35:45Z")

</div>

Hi,

Does anyone managed to configure google tts in ubuntu server?  
It works for me very well on my mac, but on ubuntu (14.04 as well as 16.04 - Oracle java 8) although say command is processed without any error there is no sound.  
Generally sound is working while using other applications.

Thanks for any response 🙂

---

<div class="post-metadata">

**Author:** ![andrzej\_szymkowicz](https://community.openhab.org/user_avatar/community.openhab.org/andrzej_szymkowicz/32/4107_2.png) [@andrzej\_szymkowicz](https://community.openhab.org/u/andrzej_szymkowicz)\
**Post date:** [August 14, 2016, 9:57pm UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282/2 "2016-08-14T21:57:10Z")

</div>

In meantime I discover that this problem appears in case of installation of openhab using apt-get install …

Does anyone know what to do next?

---

<div class="post-metadata">

**Author:** ![1technophile](https://community.openhab.org/user_avatar/community.openhab.org/1technophile/32/98159_2.png) [@1technophile](https://community.openhab.org/u/1technophile)\
**Post date:** [August 15, 2016, 5:57am UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282/3 "2016-08-15T05:57:32Z")

</div>

Maybe a track to follow is the user used by the apt get install which could differ from a manual install.  
Personaly I stopped using goigle tts due to several issues described here:

> [@GoogleTTS responding with 503 error (even after the URL fix)](https://community.openhab.org/t/googletts-responding-with-503-error-even-after-the-url-fix/3385/2):
>
> I’m seeing the same behavior. Have not confirmed this is absolutely true, but if I disable the service for a day or so, the error goes away for 10-20 more TTS commands..

---

<div class="post-metadata">

**Author:** ![rlkoshak](https://community.openhab.org/user_avatar/community.openhab.org/rlkoshak/32/75251_2.png) [@rlkoshak](https://community.openhab.org/u/rlkoshak)\
**Post date:** [August 16, 2016, 4:42pm UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282/4 "2016-08-16T16:42:48Z")

</div>

Does it work when you run it from the command line using the openhab user?

```
sudo -u openhab <tts command>

```

Use full paths for the command and any arguments that are files.

If that doesn’t work the problem is almost certainly a permission one. You will need to give the openHAB user permission to make that call.

---

<div class="post-metadata">

**Author:** ![andrzej\_szymkowicz](https://community.openhab.org/user_avatar/community.openhab.org/andrzej_szymkowicz/32/4107_2.png) [@andrzej\_szymkowicz](https://community.openhab.org/u/andrzej_szymkowicz)\
**Post date:** [August 18, 2016, 9:37pm UTC](https://community.openhab.org/t/ubuntu-and-openhab-1-8-3-google-tts-no-sound/13282/5 "2016-08-18T21:37:06Z")

</div>

Rather not, both are the same.
