title: Fatal error when registering global shortcut in Electron
body: <p>I have tried to register global keyboard shortcut using Electron's global-shortcut module, as per the documentation page. (<a href="https://github.com/atom/electron/blob/master/docs/api/global-shortcut.md" rel="nofollow">https://github.com/atom/electron/blob/master/docs/api/global-shortcut.md</a>)</p>
  
  <p>However, I received the following error in my console when I run electron:</p>
  
  <pre><code>[20097:0608/181936:FATAL:global_shortcut_listener_x11.cc(49)] Check failed: BrowserThread::CurrentlyOn(BrowserThread::UI). 
  </code></pre>
  
  <p>I am running Electron on Ubuntu 14.04 LTS. I would like to ask if this error is platform-specific. Are there any steps I missed out from the documentation page? If there isn't, is there any way to get around this error? Thanks.</p>