<ul dir="auto">
<li>Electron version: ^1.4.1</li>
<li>Operating system: Linux (ubuntu 16.04 gnome, kde ). 2 monitors</li>
</ul>
<h3 dir="auto">Expected behavior</h3>
<p dir="auto">When using 2 monitors, On Windows or macOS, the window of app started is centered</p>
<h3 dir="auto">Actual behavior</h3>
<p dir="auto">When using 2 monitors, on Linux, window is not centered</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/313952/19678357/b78fcd7a-9a9d-11e6-95e4-0b289c064e4f.png"><img src="https://cloud.githubusercontent.com/assets/313952/19678357/b78fcd7a-9a9d-11e6-95e4-0b289c064e4f.png" alt="" style="max-width: 100%;"></a></p>
<h3 dir="auto">How to reproduce</h3>
<p dir="auto">run <a href="https://github.com/electron/electron-quick-start">https://github.com/electron/electron-quick-start</a></p>
<p dir="auto">So this is basic problem. Another interesting thing:</p>
<p dir="auto">if I change <code class="notranslate">  mainWindow = new BrowserWindow({width: 800, height: 600})</code> to <code class="notranslate">  mainWindow = new BrowserWindow({width: 800, height: 600, center: true})</code> It has no effect. Window position is same.</p>
<p dir="auto">If I do however</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mainWindow.webContents.on('did-finish-load', () =&gt; {
   mainWindow.center()
})"><pre class="notranslate"><code class="notranslate">mainWindow.webContents.on('did-finish-load', () =&gt; {
   mainWindow.center()
})
</code></pre></div>
<p dir="auto">the window will be moved one half on one monitor, second half at the other monitor , after the <code class="notranslate">did-finish-load</code>.</p>
<p dir="auto">When you have multi monitor set-up and you start <code class="notranslate">BrowserWindow</code> with option center:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new BrowserWindow({width: 800, height: 600, center: true});"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-v">BrowserWindow</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">width</span>: <span class="pl-c1">800</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">600</span><span class="pl-kos">,</span> <span class="pl-c1">center</span>: <span class="pl-c1">true</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">The new window is opened in the center of all the monitors, instead of the center of primary one. Basically it counts width of all monitors and put the window in the center of it.</p>
<p dir="auto">OS: Linux only.<br>
Windows, OS X are fine ( window is opened in the center of main monitor)</p>
<p dir="auto">Tested with:  Electron 0.35.0, Ubuntu 14.04, Linux Mint 17.2</p>
<p dir="auto"><em>This is pretty annoying when you are showing just a little window.</em><br>
Thanks</p>