View Single Post
Bec's Avatar
Posts: 876 | Thanked: 396 times | Joined on Dec 2009
#6
Originally Posted by Matan View Post
Headphone events are reported on d-bus, so you can use dbus-scripts to run a script whenever headphones are inserted or removed. Such a script can send a pause (or unpause) command to media player when headphones are removed (or inserted).
This sounds very interesting, It should also allow headset input for volume and swiching tracks.

Could you detail the matter a little and maybe link to a working d-bus example?

Thanks
__________________