{"action":"created","issue":{"url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/68","labels_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/68/comments","events_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/68/events","html_url":"https://github.com/alexlarsson/xdg-app/issues/68","id":70623124,"number":68,"title":"xdg-app is wayland only?","user":{"login":"xiangzhai","id":851100,"avatar_url":"https://avatars.githubusercontent.com/u/851100?v=3","gravatar_id":"","url":"https://api.github.com/users/xiangzhai","html_url":"https://github.com/xiangzhai","followers_url":"https://api.github.com/users/xiangzhai/followers","following_url":"https://api.github.com/users/xiangzhai/following{/other_user}","gists_url":"https://api.github.com/users/xiangzhai/gists{/gist_id}","starred_url":"https://api.github.com/users/xiangzhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiangzhai/subscriptions","organizations_url":"https://api.github.com/users/xiangzhai/orgs","repos_url":"https://api.github.com/users/xiangzhai/repos","events_url":"https://api.github.com/users/xiangzhai/events{/privacy}","received_events_url":"https://api.github.com/users/xiangzhai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-04-24T08:20:13Z","updated_at":"2015-04-24T09:40:46Z","closed_at":null,"body":"Hi Alex,\r\n\r\nIs xdg-app wayland only? \r\n\r\nThere is org.gnome.gedit`s metadata \r\n\r\n```\r\n[Environment]                                                                   \r\nx11=true                                                                        \r\nwayland=true\r\n```\r\n\r\nBut run ```xdg-app run org.gnome.gedit``` under X11 such as GNOME, it thrown such warning, and gedit is not visible!\r\n\r\n```\r\n(gedit:2): Gtk-WARNING **: Locale not supported by C library.\r\n\tUsing the fallback 'C' locale.\r\nNo protocol specified\r\n\r\n** (gedit:2): WARNING **: Could not open X display\r\nNo protocol specified\r\n\r\n(gedit:2): Gtk-WARNING **: cannot open display: :99.0\r\n```\r\n\r\nAnd I experienced limba https://github.com/ximion/limba before, and I am also a hacker for weston:\r\n* Migrated randr protocol patch to weston git upstream http://lists.freedesktop.org/archives/wayland-devel/2015-April/021199.html\r\n* [PATCH] Mirroing mode http://lists.freedesktop.org/archives/wayland-devel/2015-April/021245.html\r\n\r\nWhen run weston-launch with different ttyN, then run ```xdg-app run org.gnome.gedit``` it is able to run happily shown as below:\r\n\r\n![wayland-screenshot](https://cloud.githubusercontent.com/assets/851100/7314992/6a159122-ea9c-11e4-93b7-b7b707e44e3c.png)\r\n\r\n![wayland-screenshot1](https://cloud.githubusercontent.com/assets/851100/7315001/79ae6d2a-ea9c-11e4-9965-68502d8e2c29.png)\r\n\r\nIf set wayland=false, it thrown such error ```Gtk-WARNING **: cannot open display``` so wayland access control is able to work, but why x11 is not able to, is xdg-app wayland only?\r\n\r\nRegards,\r\nLeslie Zhai"},"comment":{"url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/comments/95871805","html_url":"https://github.com/alexlarsson/xdg-app/issues/68#issuecomment-95871805","issue_url":"https://api.github.com/repos/alexlarsson/xdg-app/issues/68","id":95871805,"user":{"login":"xiangzhai","id":851100,"avatar_url":"https://avatars.githubusercontent.com/u/851100?v=3","gravatar_id":"","url":"https://api.github.com/users/xiangzhai","html_url":"https://github.com/xiangzhai","followers_url":"https://api.github.com/users/xiangzhai/followers","following_url":"https://api.github.com/users/xiangzhai/following{/other_user}","gists_url":"https://api.github.com/users/xiangzhai/gists{/gist_id}","starred_url":"https://api.github.com/users/xiangzhai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiangzhai/subscriptions","organizations_url":"https://api.github.com/users/xiangzhai/orgs","repos_url":"https://api.github.com/users/xiangzhai/repos","events_url":"https://api.github.com/users/xiangzhai/events{/privacy}","received_events_url":"https://api.github.com/users/xiangzhai/received_events","type":"User","site_admin":false},"created_at":"2015-04-24T09:40:46Z","updated_at":"2015-04-24T09:40:46Z","body":"Hi @alexlarsson I have to gotta home now, so happy weekend, see you next week ;-)"}}