<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Request] Control media (music) and torch using hardware buttons]]></title><description><![CDATA[<h2>Introduction</h2>
<p dir="auto">Hi,<br />
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 <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=bd2c1f0ef09" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /><br />
However there is one feature, that I really liked. It was controlling media (music) by holding buttons.<br />
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.<br />
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.</p>
<h2>Question</h2>
<p dir="auto"><strong>Is it possible to control media (especially music) by hardware buttons in Ubuntu Touch?</strong><br />
Same question with torch.</p>
<h2>Solution</h2>
<pre><code>here will be the solution
</code></pre>
<h2>Important:</h2>
<pre><code>here will be important information like limitations etc.
</code></pre>
<h2>First Post changelog</h2>
<ul>
<li><strong>2020.17.08</strong> - topic creation</li>
</ul>
]]></description><link>https://forums.ubports.com/topic/4778/request-control-media-music-and-torch-using-hardware-buttons</link><generator>RSS for Node</generator><lastBuildDate>Fri, 12 Jun 2026 20:37:03 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/4778.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Aug 2020 06:40:44 GMT</pubDate><ttl>60</ttl></channel></rss>