{"action":"created","issue":{"url":"https://api.github.com/repos/kitematic/kitematic/issues/326","labels_url":"https://api.github.com/repos/kitematic/kitematic/issues/326/labels{/name}","comments_url":"https://api.github.com/repos/kitematic/kitematic/issues/326/comments","events_url":"https://api.github.com/repos/kitematic/kitematic/issues/326/events","html_url":"https://github.com/kitematic/kitematic/pull/326","id":63891039,"number":326,"title":"Add X11 abilities to Kitematic","user":{"login":"koddsson","id":318208,"avatar_url":"https://avatars.githubusercontent.com/u/318208?v=3","gravatar_id":"","url":"https://api.github.com/users/koddsson","html_url":"https://github.com/koddsson","followers_url":"https://api.github.com/users/koddsson/followers","following_url":"https://api.github.com/users/koddsson/following{/other_user}","gists_url":"https://api.github.com/users/koddsson/gists{/gist_id}","starred_url":"https://api.github.com/users/koddsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koddsson/subscriptions","organizations_url":"https://api.github.com/users/koddsson/orgs","repos_url":"https://api.github.com/users/koddsson/repos","events_url":"https://api.github.com/users/koddsson/events{/privacy}","received_events_url":"https://api.github.com/users/koddsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-03-24T03:01:15Z","updated_at":"2015-03-26T19:11:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/kitematic/kitematic/pulls/326","html_url":"https://github.com/kitematic/kitematic/pull/326","diff_url":"https://github.com/kitematic/kitematic/pull/326.diff","patch_url":"https://github.com/kitematic/kitematic/pull/326.patch"},"body":"This patch will add a new setting variable in the settings view to set a `DISPLAY` path for lunching of X11 containers such as `jess/chrome`.\r\n\r\nOn unix (untested) you simply fill out the input with \"unix:0\" (if your current display is 0) and start a X11 container. On Mac OSX you need start a `socat` daemon. Here's an example:\r\n\r\n    socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\\\"$DISPLAY\\\"\r\n\r\nWith a daemon running you can set the X11 display path to the virtualbox network interface that is running docker (\"192.168.59.3:0\").\r\n\r\nWhen lunching a container we'll check for the settings file and inject into the container options if it exists.\r\n\r\nTry running Chrome with `jess/chrome`!\r\n\r\nFixes #270."},"comment":{"url":"https://api.github.com/repos/kitematic/kitematic/issues/comments/86675337","html_url":"https://github.com/kitematic/kitematic/pull/326#issuecomment-86675337","issue_url":"https://api.github.com/repos/kitematic/kitematic/issues/326","id":86675337,"user":{"login":"koddsson","id":318208,"avatar_url":"https://avatars.githubusercontent.com/u/318208?v=3","gravatar_id":"","url":"https://api.github.com/users/koddsson","html_url":"https://github.com/koddsson","followers_url":"https://api.github.com/users/koddsson/followers","following_url":"https://api.github.com/users/koddsson/following{/other_user}","gists_url":"https://api.github.com/users/koddsson/gists{/gist_id}","starred_url":"https://api.github.com/users/koddsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/koddsson/subscriptions","organizations_url":"https://api.github.com/users/koddsson/orgs","repos_url":"https://api.github.com/users/koddsson/repos","events_url":"https://api.github.com/users/koddsson/events{/privacy}","received_events_url":"https://api.github.com/users/koddsson/received_events","type":"User","site_admin":false},"created_at":"2015-03-26T19:11:42Z","updated_at":"2015-03-26T19:11:42Z","body":">I'm wondering, do you feel that this feature may be a bit hard to make use of on the Mac OS X version of Kitematic (as opposed to Linux version)?\r\n\r\nYeah it might be a bit much. Since it's essentially just injecting some environ variable maybe it would be better suited to add the ability to set those variables in kitematic and then getting X11 apps running is just a matter of some documentation?"}}