The Following 2 Users Say Thank You to trurl For This Useful Post: | ||
|
2010-06-20
, 12:29
|
Posts: 29 |
Thanked: 7 times |
Joined on May 2010
@ Frankfurt, Germany
|
#2
|
The Following 2 Users Say Thank You to Manul For This Useful Post: | ||
|
2010-06-20
, 12:34
|
Posts: 8 |
Thanked: 7 times |
Joined on Jan 2010
@ Germany
|
#3
|
Just a quick hint: You can get the minutes with the leading 0s stripped using '%-M'.
if [ $(echo $LC_MESSAGES) == "de_DE" ]; then espeak -vde -w $fname $(date "+%-H:Uhr:%-M") else espeak -w $fname $(date "+%H:%M") fi
The Following User Says Thank You to trurl For This Useful Post: | ||
|
2010-06-20
, 15:55
|
|
Posts: 64 |
Thanked: 16 times |
Joined on Apr 2010
@ Germany, near Hamburg
|
#4
|
|
2010-06-20
, 16:26
|
Posts: 384 |
Thanked: 95 times |
Joined on Jan 2010
@ Romania
|
#5
|
|
2010-06-20
, 16:28
|
Posts: 384 |
Thanked: 95 times |
Joined on Jan 2010
@ Romania
|
#6
|
|
2010-06-20
, 16:31
|
Posts: 4,556 |
Thanked: 1,624 times |
Joined on Dec 2007
|
#7
|
Hi! could anyone be kind to write the commands for xterm for copying the espeaktime-now.sh from /usr/bin/espeaktime-now.sh to /home/user/MyDocs? Thank you!
cp /usr/bin/espeaktime-now.sh /home/user/MyDocs
The Following User Says Thank You to Laughing Man For This Useful Post: | ||
|
2010-06-20
, 17:40
|
Posts: 384 |
Thanked: 95 times |
Joined on Jan 2010
@ Romania
|
#8
|
|
2010-06-20
, 17:59
|
Posts: 8 |
Thanked: 7 times |
Joined on Jan 2010
@ Germany
|
#9
|
i still don't get it. i renamed the atached file to espeaktime-now.sh and i used the command cp /home/user/MyDocs/espeaktime-now.sh /usr/bin/ to copy it to the location and the hour is still played in english.
i tryed another method: i deleted the file espeaktime-now.sh from /usr/bin and added the new one and the result is that the hour is not played at all.
what I did wrong? how to make this work?
The Following User Says Thank You to trurl For This Useful Post: | ||
|
2010-06-20
, 18:21
|
Posts: 384 |
Thanked: 95 times |
Joined on Jan 2010
@ Romania
|
#10
|
i was so excited by the app eSpeakTime that i made a german localization. I edited the file /usr/bin/espeaktime-now.sh by adding the following lines:
I also attached the complete file (don't forget to rename if from .txt to .sh)