Is it possible to play a certain sound file whenever Ubuntu connects to the Internet?

The sound should play when Ubuntu begings to try to connect after starting up the PC, after manually disconnecting/reconnecting with the Network Manager, when reconnecting after 24 hour disconnects, etc.


Someone at ubuntuforums made a python script to play sounds when it connects or loose connection. It was probably made for Ubuntu 10.04, so i don't know if it will work with newer versions.

Here's the link to the original thread.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.