Reply To: Run a script when exiting a game?

#116233
Profile photo of labelwhore
labelwhore
Participant

Actually, a better way this to create a custom script to luanch your games. I did exactly that for Infocom and BBC Micro so that I could have my mp3 collection play in the background when I’m playing those games.

Check this out:

Random mp3 playback during gameplay

Just ignore the stuff about mp3s and modify the .sh script to your liking. Simply put the stuff you need to run after the line that launches the game. (Where the sudo killall mpg123 is located.)

http://www.th3rdwave.com/tracks/
^^ my other hobby

Skip to toolbar