<p dir="auto">When trying to open a link via <code class="notranslate">shell.openExternal('https://www.google.com')</code> it causes Atom to freeze in case the default browser is Chromium (<code class="notranslate">chromium-browser</code>).</p>
<p dir="auto">After getting the prompt that Atom has freezed and hitting the kill button I get the following dump on my console on which I've invoked Atom</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[9784:0416/151609:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
App load time: 224ms
...
The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 789 error_code 3 request_code 40 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)"><pre lang="text" class="notranslate"><code class="notranslate">[9784:0416/151609:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
App load time: 224ms
...
The setuid sandbox is not running as root. Common causes:
  * An unprivileged process using ptrace on it, like a debugger.
  * A parent process set prctl(PR_SET_NO_NEW_PRIVS, ...)
Failed to move to new namespace: PID namespaces supported, Network namespace supported, but failed: errno = Operation not permitted
The program 'atom' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadWindow (invalid Window parameter)'.
  (Details: serial 789 error_code 3 request_code 40 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
</code></pre></div>
<p dir="auto">I'm running Xubuntu 14.10 (64bit) with the latest Chromium installed available via apt-get and Atom 0.192.0</p>
<p dir="auto">Edit: See also discussion here <a href="https://discuss.atom.io/t/open-url-in-external-browser/16179/5" rel="nofollow">https://discuss.atom.io/t/open-url-in-external-browser/16179/5</a></p>
<p dir="auto">On Ubuntu 14.04 with Atom Shell 0.22.3 <code class="notranslate">require('shell').openExternal('http://github.com')</code> does not seem to work. I have both Firefox and Chromium installed on that VM.</p>
<p dir="auto">See <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="66002267" data-permission-text="Title is private" data-url="https://github.com/atom-archive/feedback/issues/40" data-hovercard-type="issue" data-hovercard-url="/atom-archive/feedback/issues/40/hovercard" href="https://github.com/atom-archive/feedback/issues/40">atom-archive/feedback#40</a> for other reports.</p>
<p dir="auto">Similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="41648590" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/623" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/623/hovercard" href="https://github.com/electron/electron/issues/623">#623</a></p>