re-enable linux text to speech and fix use of deprecated function

tested on archlinux
test on ubuntu before merging