Hello Everybody,
on my Ubuntu workstation I could manage to run that program:
Code:
#!/usr/bin/python3
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
gi.require_version('WebKit', '3.0')
from gi.repository import WebKit
wview = WebKit.WebView()
wview.load_uri('http://google.de')
win = Gtk.Window()
win.connect("destroy", Gtk.main_quit)
win.fullscreen()
win.set_opacity(0.5)
win.add(wview)
win.show_all()
Gtk.main()
What basically launches a GTK Application which contains a webview in fullscreen. On the bespoken Ubuntu Desktop machine, that runs within X, GNOME and the whole stack ubuntu utilizes to deal with such graphical applications.
What I would like to ask here is: I am searching for the »bare minimum« of required software to make the OS just run that program, no Desktop, no nothing, just that program as a kiosk. Since that should run on a whole bunch of single board computers with low computing power, I thought it might be a good idea to use wayland instead of X, but I was not able to start the program.
To sum up:
- From a performance point of view: Is it a good idea to use wayland instead of X,
- Do I need a window-/Displaymanager to run just that program in fullscreen,
- If wayland is an option, what packages are needed to run a program with wayland?
Btw. I am not bound to any specific Distribution, I just used Ubuntu for the first shut, since I have it installed…
THANKS in Ahead for any help!