<ul dir="auto">
<li>Electron version: 1.6.6</li>
<li>Operating system: Ubuntu 16.04</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto"><code class="notranslate">Tray.setTitle("Something...")</code> should work on Linux (at least on Unity/appindicator) because text can be displayed alongside the icon.<br>
<a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/7735145/26071420/58f4ac04-39a8-11e7-994e-c7dbb9586e00.png"><img src="https://cloud.githubusercontent.com/assets/7735145/26071420/58f4ac04-39a8-11e7-994e-c7dbb9586e00.png" alt="indicator-weather running on ubuntu with unity" style="max-width: 100%;"></a></p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">It only works on macOS</p>
<h3 dir="auto">How to reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const {app, Menu, Tray} = require('electron')

let appIcon = null
app.on('ready', () =&gt; {
  appIcon = new Tray('/path/to/my/icon')
  appIcon.setTitle(&quot;Something&quot;)
})"><pre class="notranslate"><code class="notranslate">const {app, Menu, Tray} = require('electron')

let appIcon = null
app.on('ready', () =&gt; {
  appIcon = new Tray('/path/to/my/icon')
  appIcon.setTitle("Something")
})
</code></pre></div>
<ul dir="auto">
<li>Electron version: 0.36.10 (latest stable)</li>
<li>Operating system: Ubuntu 15.10</li>
</ul>
<p dir="auto">I already asked this on stackoverflow: <a href="http://stackoverflow.com/questions/35755240/how-to-add-text-to-ubuntu-app-indicator-with-with-nw-js-or-electron" rel="nofollow">http://stackoverflow.com/questions/35755240/how-to-add-text-to-ubuntu-app-indicator-with-with-nw-js-or-electron</a></p>
<p dir="auto">I would like to add text to the ubuntu (unity) app indicator. That's possible via the python package libindicator but not via electron so far.</p>