#!/bin/bash # Start KTTSD (if not already running) kttsd # Send "Hello World" to KTTSD for speaking in English. JOB=`dcop kttsd KSpeech setText "$1" "en"` # Speak the text. dcop kttsd KSpeech startText $JOB