Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
In theory - yes, you can try to draw on naked X's.
In practice, you are tormented.
The question is not entirely clear. Maybe we are talking about Terminal UI (TUI?), for example
The meaning of the question is not clear.
If the question is whether it is possible to write applications with a GUI on Linux without a GUI, then no problem. We take vim/nano/whatever and write in it:
#!/usr/bin/env ruby
# frozen_string_literal: true
require 'ruby2d'
set width: 300, height: 200
s = Square.new
s.color = 'red'
show
In Linux, graphics are divided into several levels:
* Console with one font text graphics, framebuffer.
* Graphics subsystem Xorg (x) many fonts, many framebuffer, drawing routines.
* Interface for drawing controls (buttons, text fields, checkboxes, tabs) - gtk, qt, tk
* Window manager - minimizing, maximizing, switching between windows, rendering design.
* Desktop environment - icons, widgets, taskbar, desktop management. (gnome, kde)
So I think that GTK is enough for you - one full-screen window, a couple of tabs. Even if the window pops up, then without a window manager it simply cannot be dragged and closed - there should simply be two buttons ok and cancel, and it should be on top until it is closed from the program.
There is no "graphical shell" in Linux.
There is a graphic subsystem (usually X) and graphic environments (all sorts of Gnomes, Keds and Rats).
If you try to do without the first one, you will have to write a replacement for it yourself. No chance, with such and such questions.
If we are only talking about the second one, then programs do not need DE, only the user needs it.
For example, Chromium can start instead of DE and does fine without it, working as an Internet kiosk.
Or vlc, working as a video kiosk.
Or %your application%, who will forbid it...
writing graphical interfaces for Linux without a graphical shell.
You can make a graphical interface without x's if you draw directly to the framebuffer. example on youtube
If it’s simplified, then in Linux the graphics subsystem is just a plug-in, you can connect, you
can not connect
, you can connect with themes, you can without them
, you can initialize the graphics core of the video card, you can without
Well, of course, there are also options for these subsystems.
specify the task.
Since there are frameworks for bash scripts that create "pseudo graphical interfaces"
There are console utilities for plotting and drawing that have their own API
and there is X11 and so on there is a whole milestone, but this is not Linux itself, these are just add-ons.
Linux itself does not require a graphics card to run.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question