{"action":"created","issue":{"url":"https://api.github.com/repos/wireload/screenly-ose/issues/257","labels_url":"https://api.github.com/repos/wireload/screenly-ose/issues/257/labels{/name}","comments_url":"https://api.github.com/repos/wireload/screenly-ose/issues/257/comments","events_url":"https://api.github.com/repos/wireload/screenly-ose/issues/257/events","html_url":"https://github.com/wireload/screenly-ose/issues/257","id":56518759,"number":257,"title":"Improved web loading - Replace UZBL with Epiphany/Web","user":{"login":"vpetersson","id":357664,"avatar_url":"https://avatars.githubusercontent.com/u/357664?v=3","gravatar_id":"","url":"https://api.github.com/users/vpetersson","html_url":"https://github.com/vpetersson","followers_url":"https://api.github.com/users/vpetersson/followers","following_url":"https://api.github.com/users/vpetersson/following{/other_user}","gists_url":"https://api.github.com/users/vpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/vpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpetersson/subscriptions","organizations_url":"https://api.github.com/users/vpetersson/orgs","repos_url":"https://api.github.com/users/vpetersson/repos","events_url":"https://api.github.com/users/vpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/vpetersson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/wireload/screenly-ose/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-04T12:09:20Z","updated_at":"2015-05-25T08:11:44Z","closed_at":null,"body":"In theory, it would be possible to replace UZBL with [Epiphany/Web](http://www.raspberrypi.org/web-browser-beta/). There are big benefits with doing so, as we'll get support for hardware acceleration and better and hence better experience.\r\n\r\nSwapping out the browser itself is fairly trivial. The problem is remote controlling it. \r\n\r\nEpiphany/Web supports DBUS for these actions, but the support seems broken. I've opened a [ticket](https://bugzilla.gnome.org/show_bug.cgi?id=743982) for that. \r\n\r\nSpinning up the browser itself works great. All we need to do is to run:\r\n\r\n    #!/bin/bash\r\n    export DISPLAY=:0\r\n    mkdir -p /home/pi/tmp\r\n    epiphany-browser --display=:0  --profile=/home/pi/tmp -a http://wireload.net\r\n\r\nThat should in theory then register with DBUS, which should allow us to remote control it. There's even built-in support for doing this using [Python](http://dbus.freedesktop.org/doc/dbus-python/doc/tutorial.html).\r\n\r\nDocumentation on the actual DBUS commands are scarce, but there are some initial pointers [here](https://mail.gnome.org/archives/epiphany-list/2007-November/msg00009.html)."},"comment":{"url":"https://api.github.com/repos/wireload/screenly-ose/issues/comments/105160955","html_url":"https://github.com/wireload/screenly-ose/issues/257#issuecomment-105160955","issue_url":"https://api.github.com/repos/wireload/screenly-ose/issues/257","id":105160955,"user":{"login":"vpetersson","id":357664,"avatar_url":"https://avatars.githubusercontent.com/u/357664?v=3","gravatar_id":"","url":"https://api.github.com/users/vpetersson","html_url":"https://github.com/vpetersson","followers_url":"https://api.github.com/users/vpetersson/followers","following_url":"https://api.github.com/users/vpetersson/following{/other_user}","gists_url":"https://api.github.com/users/vpetersson/gists{/gist_id}","starred_url":"https://api.github.com/users/vpetersson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vpetersson/subscriptions","organizations_url":"https://api.github.com/users/vpetersson/orgs","repos_url":"https://api.github.com/users/vpetersson/repos","events_url":"https://api.github.com/users/vpetersson/events{/privacy}","received_events_url":"https://api.github.com/users/vpetersson/received_events","type":"User","site_admin":false},"created_at":"2015-05-25T08:11:44Z","updated_at":"2015-05-25T08:11:44Z","body":"@tiptronic It's unfortunately not that easy. The remote control feature is critical to Screenly as it is how Screenly interacts with the browser.\r\n\r\nThat said, you could in theory replace the browser [here](https://github.com/wireload/screenly-ose/blob/master/viewer.py#L140), but it would only make Screenly load the browser. You could perhaps hardcode a URL there but it won't be able to do anything else from that point on."}}