4

Is there a way to start my default music player after connecting the headphones or earphones ?

If there is nothing in the form of a GUI, I don't mind writing a script for it, but I need some starting guidance, which is where do I write the script?

I am connecting the headphones through the 3.5mm jack.

  • 1
    This is going to be dependent on what hardware you have. First thing to sort out is 'jack detection' (not what it sounds like) which is covered in this related question. – Tom Brossman Jan 2 '13 at 16:20

Your Answer

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

Browse other questions tagged or ask your own question.