mp3

I faced a problem with mp3 !!! That is:
   I double click the mp3 icon, and it will play the music automatically without any multimedia program activate, how can I stop the music/mp3 ?
ahchongAsked:
Who is Participating?
 
garisoainCommented:
look at the properties of the icon you use to start the music, in the "execute" box you will see the name of the program... then open a xterm, and type the following command line:
"killall -9 <the_name_of_the_program>"
music must stop...
I recommend U to download the "XMMS" program in order to play your MP3 with more freedom...
0
 
shiversCommented:
Something must have loaded in order to the PC to be able to decode and play the MP3 file - you could try using a "ps fax" command from the shell to try and work out what - then kill it to stop the sound.

You could even write a script to do this when you click a particular icon (I'm not sure how though).
0
 
ahchongAuthor Commented:
what is the use of -9 ?
0
 
garisoainCommented:
is the kill signal to STOP the procedure...
it's like alt-f4 in windows....
or clicking at the "X" on the right-top corner of the window...
"killall" is the command to send a signal to ALL process with a specific name... instead of  "kill -signal PID", where PID is the number of the process running...
also try the online manual:
man kill
man killall
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.