1

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?

Black Block
  • 5,139

0 Answers0