mikshaw
Group: Members
Posts: 4856
Joined: July 2004 |
|
Posted: Aug. 10 2005,04:05 |
|
Depends on when you want it to play. If you want it after boot has succeeded, add a command to /opt/bootlocal.sh. If you want it during X load, put the command in /home/dsl.xinitrc
The command for mp3 would be "mpg321 /path/to/file.mp3". For ogg, "ogg123 /path/to/file.ogg". For wav you'll need additional software unless you can deal with xmms starting up to play a single sound. xmms also doesn't work from bootlocal. For console wav/ogg/mp3 you could try the sox extension, which has the "play" command.
-------------- http://www.tldp.org/LDP/intro-linux/html/index.html
|