• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 286
  • Last Modified:

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 ?
0
ahchong
Asked:
ahchong
  • 2
1 Solution
 
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
 
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
 
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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now