2

I want to build an ultra minimal browser which will just load one url, and will always be in full screen or kiosk mode. I will be running this in a Raspberry Pi. I explored several options in stack overflow and Google. Below are the potential solutions I found, but just can't decide the best and easiest method out of it.

  1. Python + Gtk
  2. QT
  3. NodeWebkit (I couldn't get it installed)

One advantage if we use python is that in raspberry pi, I have Raspbian running which comes with python.

I would really appreciate an opinion from experienced developers.

closed as primarily opinion-based by ekhumoro, S.L. Barth, DNA, user559633, Alexis King Feb 14 '15 at 0:16

Many good questions generate some degree of opinion based on expert experience, but answers to this question will tend to be almost entirely based on opinions, rather than facts, references, or specific expertise. If this question can be reworded to fit the rules in the help center, please edit the question.

0

I cannot really evaluate whether this is the easiest option but this is how you would do it with python and gtk:

from gi.repository import Gtk
from gi.repository import WebKit2

class  BrowserView:
    def __init__(self):
        window = Gtk.Window()
        window.connect('delete-event',Gtk.main_quit)

        self.view = WebKit2.WebView()
        self.view.load_uri('http://example.net')

        window.add(self.view)
        window.fullscreen()
        window.show_all()


if __name__ == "__main__":
    BrowserView()
    Gtk.main()

Not the answer you're looking for? Browse other questions tagged or ask your own question.