[Request] Control media (music) and torch using hardware buttons

  • Introduction

    I really like listening to music. Before I Ubuntu Touch I have been using LineageOS. I know it disadvantages that's why I'm here 🙂
    However there is one feature, that I really liked. It was controlling media (music) by holding buttons.
    When You hold vol+ button you skip song, when you hold vol- button you start current song again and if you do it once again, you go back to previous song.
    Second thing was quick on/off torch. When you hold power button for 2 seconds with screen off, you can quickly enable and disable torch.


    Is it possible to control media (especially music) by hardware buttons in Ubuntu Touch?
    Same question with torch.


    here will be the solution


    here will be important information like limitations etc.

    First Post changelog

    • 2020.17.08 - topic creation