Sign up ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I have a generic pair of smartphone earphones that have the button (along with a microphone) and I would like to use the button as a pause/play key in Ubuntu, like I would on an Android phones music player.

Is there a way to enable this headset control in Ubuntu?

If the headset controls are a hardware feature of audio jacks used in Android phones, the name of that hardware (audio jack) would be appreciated.

share|improve this question

1 Answer 1

up vote 4 down vote accepted

Traditional stereo headphones have only three leads, while ones with a microphone and/or the "button" have four. In order for the microphone or the button to work on your machine, the headphone jack must also have four leads (which is unlikely) and the drivers you're using must also support the fourth lead.

It is unlikely that the manufacturer would provide hardware without driver support, so if you still have the manufacturer-provided OS installed, you could boot into that and test the button there. If it works there but not in Ubuntu, then it's probably a lack of driver support.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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