LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-17-2018, 02:47 AM   #1
schmi85
LQ Newbie
 
Registered: Sep 2018
Distribution: win65
Posts: 19

Rep: Reputation: Disabled
»Bare Minimum« to launch Program in Wayland


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!
 
Old 12-18-2018, 04:31 PM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Wayland relies on clients communicating directly with a Wayland compositor, which then communicates with the graphics hardware. This guide might be useful to you...
https://jan.newmarch.name/Wayland/ProgrammingClient/

FWIW, a good Wayland overview here
https://wayland.freedesktop.org/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bare ide and bare acpi kernels denning Slackware 1 03-04-2005 05:50 AM
creating a bare-bare-barebones system for an underpowered laptop orange400 Linux - General 3 06-15-2004 05:53 PM
bare minimum installations chrno Linux - Newbie 2 06-08-2004 10:02 AM
Bare Minimum Linux mymojo Linux - Newbie 5 10-11-2003 06:13 PM
BARE minimum swap advice ? qwijibow Linux - Newbie 8 10-01-2003 11:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration