In a previous question I made this line:
trap 'clear; ~/ascii3.sh; spd-say "Exit"; sleep 2' EXIT
The content of ascii3.sh is:
echo -e "\033[01;31m" echo " _ _ __ _ _ ____ __ __ _ __ ___ ____ ____ __ _ _ _ " echo "/ )( \ / _\ / )( \( __) / _\ ( ( \( )/ __)( __) ( \ / _\ ( \/ )/ \ " echo ") __ (/ \\\ \/ / ) _) / \ / / )(( (__ ) _) ) D (/ \ ) / \_/ " echo "\_)(_/\_/\_/ \__/ (____) \_/\_/ \_)__)(__)\___)(____) (____/\_/\_/(__/ (_) "
and put it at the end of the ~/.bashrc
file, but every time I make the exit
command or just quit the terminal by Alt+F4 or the ☒ mark in the GUI, the speech-dispatcher is no longer working just like I stopped it.
Note
: i am working on Ubuntu 14.04, GNU bash, version 4.3.11(1), and i am using the default terminal on Ubuntu.
So what is going on please?
~/ascii3.sh
– A.B. Apr 11 '15 at 13:59spd-say foo
manually? What you describe works as expected on my system. – terdon Apr 11 '15 at 15:20.bashrc
is being read? Try adding a line likefoo="bar"
and then runningecho $foo
. Does it printbar
? – terdon Apr 12 '15 at 00:27~/.bashrc
then. Could you show us the entire thing? Also, do you have anything in~/.bash_logout
? Finally, I would also try with full paths, so/usr/bin/spd-say
instead ofspd-say
. – terdon Apr 12 '15 at 09:56