{"action":"created","issue":{"url":"https://api.github.com/repos/atom/atom/issues/12519","repository_url":"https://api.github.com/repos/atom/atom","labels_url":"https://api.github.com/repos/atom/atom/issues/12519/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/12519/comments","events_url":"https://api.github.com/repos/atom/atom/issues/12519/events","html_url":"https://github.com/atom/atom/issues/12519","id":173232089,"number":12519,"title":"Feature: Windows Bash 'WLS' / 'WSL' atom support","user":{"login":"bergerd1","id":11757552,"avatar_url":"https://avatars0.githubusercontent.com/u/11757552?v=4","gravatar_id":"","url":"https://api.github.com/users/bergerd1","html_url":"https://github.com/bergerd1","followers_url":"https://api.github.com/users/bergerd1/followers","following_url":"https://api.github.com/users/bergerd1/following{/other_user}","gists_url":"https://api.github.com/users/bergerd1/gists{/gist_id}","starred_url":"https://api.github.com/users/bergerd1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bergerd1/subscriptions","organizations_url":"https://api.github.com/users/bergerd1/orgs","repos_url":"https://api.github.com/users/bergerd1/repos","events_url":"https://api.github.com/users/bergerd1/events{/privacy}","received_events_url":"https://api.github.com/users/bergerd1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-25T15:18:29Z","updated_at":"2018-02-22T13:43:01Z","closed_at":"2016-08-25T20:32:36Z","author_association":"NONE","body":"### Prerequisites\n- [X ] Can you reproduce the problem in [safe mode](http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode)?\n- [X ] Are you running the [latest version of Atom](http://flight-manual.atom.io/hacking-atom/sections/debugging/#update-to-the-latest-version)?\n- [X ] Did you check the [debugging guide](http://flight-manual.atom.io/hacking-atom/sections/debugging/)?\n- [X ] Did you check the [FAQs on Discuss](https://discuss.atom.io/c/faq)?\n- [X ] Are you reporting to the [correct repository](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#atom-and-packages)?\n- [X ] Did you [perform a cursory search](https://github.com/issues?q=is%3Aissue+user%3Aatom+-repo%3Aatom%2Felectron) to see if your bug or enhancement is already reported?\n\nFor more information on how to write a good [bug report](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-bug-report) or [enhancement request](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-do-i-submit-a-good-enhancement-suggestion), see the `CONTRIBUTING` guide.\n### Description\n\nAtom can be installed through Windows 10 Bash, but it does not run. \n### Steps to Reproduce\n\nSupport Atom for Windows Bash 'WSL' on Windows 10\n- Turn Developer Mode on via Settings > Update & security > For developers.\n- Click the Start button , click Control Panel, click Programs, and then click Turn Windows features on or off.\n- Enable Windows Subsystem for Linux (Beta)\n- To get Bash installed, open Command Prompt and type “bash”\n1. Run `sudo apt-get update`\n   \n   > $ sudo apt-get update\n2. Add repository\n   \n   > $ sudo add-apt-repository ppa:webupd8team/atom\n3. Update repository\n   \n   > $ sudo apt-get update\n4. Install Atom\n   \n   > $ sudo apt-get install atom\n5. Run Atom\n   \n   > $ atom .\n- Or try `Atom --version` (or any Atom command. They all fail.)\n\n> $ atom --version\n\n**Expected behavior:**\n- Atom to open in current directory. Or Atom to show version. Or do something.\n\n**Actual behavior:** [What actually happened]\n- The output from any Atom command is shown below:\n\n```\ndavid@DESKTOP-09AQL1Q:~$ atom --version\ndavid@DESKTOP-09AQL1Q:~$ atom --safe\ndavid@DESKTOP-09AQL1Q:~$ /usr/bin/atom: line 111: 27266 Aborted                 (core dumped) nohup \"$ATOM_PATH\" --executed-from=\"$(pwd)\" --pid=$$ \"$@\" > \"$ATOM_HOME/nohup.out\" 2>&1\n[27266:0825/103701:FATAL:render_sandbox_host_linux.cc(40)] Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Invalid argument\n\n#0 0x000001bfb0ae <unknown>\n#1 0x000001c10f3b <unknown>\n#2 0x000001c114fd <unknown>\n#3 0x0000025e2ae2 <unknown>\n#4 0x0000023cf2f2 <unknown>\n#5 0x0000023d5fd4 <unknown>\n#6 0x0000023ce946 <unknown>\n#7 0x0000011375e1 <unknown>\n#8 0x0000011362d0 <unknown>\n#9 0x000003088b7c main\n#10 0x7fa7abb81f45 __libc_start_main\n#11 0x000000544249 <unknown>\n```\n### Versions\n- The latest? Not sure of the version number.  As the command `$ atom --version` does not work.\n  Run `apt-get install atom` again to make sure it is the latest version?\n\n```\ndavid@DESKTOP-09AQL1Q:~$ sudo apt-get install atom\n[sudo] password for david:\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\natom is already the newest version.\n```\n## Additional Thoughts\n- Maybe a GUI has to be enabled for Atom to run?\n- I am able to Run Dolphin through Windows Bash 'XTerm'\n\n```\ndavid@DESKTOP-09AQL1Q:~$ sudo apt-get install lubuntu-desktop\n...\ndavid@DESKTOP-09AQL1Q:~$ sudo apt-get install dolphin [?]\ndavid@DESKTOP-09AQL1Q:~$ echo $DISPLAY\ndavid@DESKTOP-09AQL1Q:~$ export DISPLAY=localhost:0\ndavid@DESKTOP-09AQL1Q:~$ xterm\n\n(now in Xterm window)\ndavid@DESKTOP-09AQL1Q:~$ dolphin .\n```\n- Open atom from within dolphin [?]\n  ![atom-wsl-dolphin-1](https://cloud.githubusercontent.com/assets/11757552/17974719/2ab9b64e-6ab5-11e6-940b-0478bba92b1e.PNG)\n- This error appears in Xterm (after trying to run Atom from within Dolphin)\n\n```\nQFileSystemWatcher: failed to add paths: /opt/atom\nQInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument\nQFileSystemWatcher: failed to add paths: /opt/atom\nQInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument\nQFileSystemWatcher: failed to add paths: /opt/atom/chromedriver\nQInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument\nQFileSystemWatcher: failed to add paths: /opt/atom/locales\nQInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Invalid argument\nQFileSystemWatcher: failed to add paths: /opt/atom/resources\n[27342:0825/111140:FATAL:render_sandbox_host_linux.cc(40)] Check failed: 0 == shutdown(renderer_socket_, SHUT_RD). shutdown: Invalid argument\n#0 0x000001bfb0ae <unknown>\n#1 0x000001c10f3b <unknown>\n#2 0x000001c114fd <unknown>\n#3 0x0000025e2ae2 <unknown>\n#4 0x0000023cf2f2 <unknown>\n#5 0x0000023d5fd4 <unknown>\n#6 0x0000023ce946 <unknown>\n#7 0x0000011375e1 <unknown>\n#8 0x0000011362d0 <unknown>\n#9 0x000003088b7c main\n#10 0x7f399f981f45 __libc_start_main\n#11 0x000000544249 <unknown>\n```\n"},"comment":{"url":"https://api.github.com/repos/atom/atom/issues/comments/367684379","html_url":"https://github.com/atom/atom/issues/12519#issuecomment-367684379","issue_url":"https://api.github.com/repos/atom/atom/issues/12519","id":367684379,"user":{"login":"niceKamrul","id":10681837,"avatar_url":"https://avatars3.githubusercontent.com/u/10681837?v=4","gravatar_id":"","url":"https://api.github.com/users/niceKamrul","html_url":"https://github.com/niceKamrul","followers_url":"https://api.github.com/users/niceKamrul/followers","following_url":"https://api.github.com/users/niceKamrul/following{/other_user}","gists_url":"https://api.github.com/users/niceKamrul/gists{/gist_id}","starred_url":"https://api.github.com/users/niceKamrul/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niceKamrul/subscriptions","organizations_url":"https://api.github.com/users/niceKamrul/orgs","repos_url":"https://api.github.com/users/niceKamrul/repos","events_url":"https://api.github.com/users/niceKamrul/events{/privacy}","received_events_url":"https://api.github.com/users/niceKamrul/received_events","type":"User","site_admin":false},"created_at":"2018-02-22T13:43:01Z","updated_at":"2018-02-22T13:43:01Z","author_association":"NONE","body":"It is strange that command for VSCode works just fine.\r\n\r\n`code .`\r\n\r\nJust works."}}
{"actor":{"display_login":"niceKamrul"}}