N
N
nvrstyle2018-07-09 11:45:06
linux
nvrstyle, 2018-07-09 11:45:06

How and with what can one implement a GUI application as a graphical Linux shell?

With what tools or how is it possible to implement the GUI of an application application as a graphical Linux shell? That is, after loading the operating system, the user should see only the graphical interface of the target program. What is it for? There are all kinds of single-board computers (raspberry pi and others), in order not to burden the single-board resources with working with a Linux graphical shell, I would like to create my own Linux distribution, in which there will be only a GUI, some program as a graphical shell, which will reduce the load on the system . I saw the implementation of this in video recorders for video surveillance. But I don't know how to implement this. Tell me which way to dig

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
m0nym, 2018-07-09
@nvrstyle

If you have exactly one program, then run it at startup. No extra skins needed.
For a lightweight shell, see Awesome Windows Manager, OpenBox Window Manager. And just use them. Look inside the source code and forget about forgetting like a bad dream your idea of ​​"writing your own shell". Or don't forget.
See the BunsenLabs Linux source for an example of a lightweight distribution. Much easier than it, you won’t be able to make a universal distribution at all.
Only highly specialized. But this see the first two sentences in my text.

C
CityCat4, 2018-07-09
@CityCat4

It's not too clear - do you want to write your own application with a GUI, or do you want to run an existing application at startup?
If the first - there is a wagon and also a cart of toolkits - though most of them are old and scary.
- Standard X Toolkit
- Tk
- Motif
...and something else. Well, qt, of course, but qt is not about saving resources :)
If the second is to run the program instead of WM There, you may have to play around with the launch keys in order to immediately stretch it to full screen - after all, there will be no control buttons!
How to run? Via .xinitrc if X starts from DM or via startx if manually.

V
Victor Taran, 2018-07-09
@shambler81

Long live the web interface ;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question