Good day, the question may seem strange, but still ... Is it possible to somehow visualize html + css on a clean kernel. For this (as I understand it), I need a kernel (suppose it is linux), then the engine for interpreting html, css, js (say, QtWebEngine), and then what? Can you tell how this is generally done approximately and what is needed for this?

  • What do you mean by “pure core”? And why such a perversion - you are already using the high-level Qt library, which is not in any of the basic modes - without the satisfaction of the application level dependency heap, it simply does not load. - ߊߚߤߘ
  • Okay, is it possible to do this? and generally how. About. By pure kernel, I mean pure kernel, for example, I download some Linux 4 from the site and compile, so I’m talking about it - Corle
  • 6
    I recommend to look towards ru.wikipedia.org/wiki/KolibriOS . There it is already written. I have only one question: Fuck? - don Rumata
  • If you are given an exhaustive answer, mark it as correct (click on the check mark next to the selected answer). - ߊߚߤߘ

1 answer 1

Let's start with the fact that the “clean kernel” from the user interface only:

  1. Console in which you can display only text.
  2. Frame buffer (included in the kernel boot options), to which you can display not only text, but also images. The buffer is represented by /dev/fbX device files that can be mapped to memory. An example on the English-language StackOverflow: “ Paint Pixels to Screen via Linux FrameBuffer ”.

No Qt, much less X.Org. Everything will have to draw yourself, pixel by pixel / character.

Then, the absence of libraries forces one to essentially implement them, but on one's own (only the standard C library and system calls, on top of which this library is built, are available) Even Links , a console-based browser, has dependencies on additional libraries that are not bundled with the system.

  • I don’t understand what the clean interface’s user interface might be: without the init process, the download will simply stop. I never understood how the Linux kernel unfolds, so correct if I'm wrong and maybe use a machine without userland. - jfs
  • @jfs, you are right. I made the assumption that everything is not so bad and the “clean kernel” is not only vmlinuz , but at least initramfs . - ߊߚߤߘ 4:08 pm