FramebufferUI Publisher's description
from Zachary Smith
FBUI is a small, fast in-kernel GUI windowing system for Linux.
FBUI is a small, in-kernel graphical user interface for Linux. It permits you to put windows in each framebuffer-based virtual console, to read keyboard input, track a mouse pointer, and respond to typical GUI events. Each process may have more than one window.
В· FBUI exists to reduce the software bloat that plagues modern operating systems. It does this by virtue of its being a simple windowing system in the form of a small, 32 kilobyte driver which for some purposes may be quite sufficient. Liberation from bloat is desirable for a number of reasons that I explain in the Philosophy section.
В· FBUI exists to assists people who are prohibited from using X Windows because they are using resource-limited platforms such as old computers and embedded devices. On these, X is an impossible burden. However a vanilla framebuffer is often too primitive. FBUI is "just right", and libfbui makes using FBUI even easier to use by providing abstractions and additional functions.
В· FBUI exists to correct a flaw in the Linux operating system architecture. The traditional GUI -- X Windows -- is unlike any other subsystem of Linux in that the hardware-accelerated video drivers it uses are located within the X server, outside the kernel. Notice: normally Linux drivers and vital subsystems such as keyboard, USB, filesystem, serial I/O, et cetera are all located inside the kernel. FBUI simply puts the graphics UI driver where it belongs: inside the kernel with all the other drivers.
Here are some key features of "FramebufferUI":
В· Unlike X Windows, FBUI supports windows on every virtual console.
В· Each program may have more than one window.
В· Overlapping windows are currently not supported, but I am adding support for them now.
В· There is no concept of parent and child windows.
В· Programs can receive raw keystrokes from FBUI which they can then translate to ASCII using a library routine. One process is permitted to have keyboard focus.
В· Each process accesses its windows completely independently of all other processes.
В· In X, the library has to send all drawing commands to the server process, which puts them in a queue and executes them whenever it has a chance. If the server is busy, or another X application is flooding the queue, then an X application must wait. Not so with FBUI, where the ioctl takes a list of drawing commands that go directly to be executed if the window is visible and irregardless of what any other window is doing. To further ensure the above concurrency is the norm, use of semaphores within FBUI to access common data is made as brief as possible.
В· Each virtual console can have its own optional window manager process. But this is not necessary and for instance many programs that I've written are also designed to run in standalone mode, examples being fbcalc, fbview, fbscribble, and the my FBUI variant of mpeg2decode.
В· I'm providing a fairly basic window manager fbwm, but current development is centered on fbpm, which is my panel-based window manager.
FBUI offers a sufficient set of drawing routines:
В· draw point, line, horizontal line, vertical line, rectangle
В· draw text (8-bit)
В· window clear, fill rectangle, clear rectangle
В· copy area
В· put pixels (3-byte RGB, and 4-byte (unsigned long) RGB, and native)
В· wait for event
В· poll for event
В· the window manager process can hide and unhide other processes' windows, move, resize, re-expose, and delete windows.
В· read point
В· FBUI is currently written for 8,16,24, and 32-bit directcolor and truecolor. I am presently adding 4-bpp VGA. (Note : on VESA, I've done testing for 24 bit only.)
Sample programs provided (I suppose I've gotten carried away) :
В· panel-based window manager (current focus of work)
В· conventional window manager
В· JPEG+TIFF image viewer
В· very simple MPEG playback based on circa 1995 MPEG2 library
В· terminal emulator (based on ggiterm)
В· load monitor
В· "scribbler" drawing program
В· analog clock
В· simple calculator
В· "Start" button program, which invokes fblauncher menu program
В· POP3 mail checker
В· "to do list" displayer program
What's New in This Release:В· This release adds overlapping windows and transparent drawing.
System Requirements:В· FBUI requires kernel 2.6.9.
Program Release Status: Minor Update
Program Install Support: Install and Uninstall