WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Startup/shutdown sounds  (Read 1712 times)

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Startup/shutdown sounds
« on: April 28, 2010, 05:49:50 AM »
What's the fastest and easiest way to make TCL play a chosen sound (wav or others) at startup/shutdown?

Thanks

 ;)

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: Startup/shutdown sounds
« Reply #1 on: April 28, 2010, 06:01:59 AM »
Shutdown might be too quick, depending on the sound ;)

Put the play commands to /opt/bootlocal.sh for boot, and /opt/shutdown.sh for shutdown, backgrounded.

Alsa and wav - aplay
OSS wav - ossplay

For other formats see one of the many player extensions.
The only barriers that can stop you are the ones you create yourself.

Offline sbaguz

  • Newbie
  • *
  • Posts: 42
Re: Startup/shutdown sounds
« Reply #2 on: April 28, 2010, 08:13:14 AM »
Thanks: aplay is the command I was looking for!

 :)