site  contact  history  index

EasyOS 32-bit version 0.9.6

August 22, 2018 — BarryK

A couple of people have recently asked me whether I will be releasing a 32-bit EasyOS. I wasn't going to, as have been attempting to be more focused in the development. However, a 32-bit, i686, build does not take much extra effort, a couple of days.

Most of the packages are compiled automatically in my fork of OpenEmbedded. Some, such as SeaMonkey and the kernel, I still have to compile manually. Have not ported all the Qt5 apps into OE either.

I have left Qt5 and the Qt5-apps out of this build. The two main ones are Scribus desktop publishing and Symhytum simple database, both of which are in the 64-bit 0.9.6 release.

If there are any peculiarities to it, specific to being 32-bit, I can't give that much attention. I just did a quick run through the apps and utilities, they seem to be functional. I get a nice desktop, looks good. Still on the "green" theme.

Bootup is not UEFI-aware, it is for legacy booting, intended for ye olde computers prior to 2012. Though, with 4.14.65 kernel, should boot up on recent PCs. 4GB RAM limit!

Though, it might be 32-bit UEFI-aware, if you have one of those.

So, if you want a i686 EasyOS, here it is:

There are some release notes at the 64-bit 0.9.6 announcement:

Forum feedback will be in the same thread: 

Tags: easy

Considering uGFX

August 19, 2018 — BarryK

I posted about a first hands-on with LittlevGL:

In an earlier post, there is a list of contenders for creating GUI apps that will run on the Linux framebuffer: that post, I mentioned µGFX. Yeah, looks good. The intention now, is to have a hands-on with µGFX.


µGFX is commercial, open-source, free for personal and educational use. I am OK with that. In fact, this kind of model might be more likely to stick around into the future (unless the company gets bought by Microsoft, and then dies -- that's a joke!). Also likely to be more sophisticated and polished that a totally freebie product.

One thing that did put me off initially, is that it only generates 32-bit executables. As I am currently working with 64-bit builds of Easy and Quirky, without any 32-bit libraries, this is a problem. Well, that applies to my "Pyro" series, which is compiled from source in my fork of OpenEmbedded.

There is Quirky Xerus 8.6, built with Ubuntu DEBs, and that does have 32-bit libs available, however, I am moving away from that, in future will likely focus on the Pyro series.

Does it matter that executables are 32-bit? Actually, no, as my planned usage is to create static executables, and they will work on both 32-bit and 64-bit systems, no shared libraries required. In which case, there is an advantage to building 32-bit executables.

The easiest platform (for me) on which to evaluate µGFX will be a i686 build of EasyOS, Pyro series. Compiling it right now. Might even release it, for those who still need a 32-bit x86 distro.

Another preliminary impression of µGFX is of it's maturity and capability -- the new beta 0.2 of µGFX-Studio is written using µGFX libraries. It is a drag-and-drop GUI designer. This uses SDL2 and will run on the desktop. Here is a forum thread:


A comment about SDL2: it uses OpenGL for rendering, cannot use the Linux framebuffer. SDL1 can use the framebuffer. Unfortunate!

There is an active user community:

The online documentation looks good:

Project homepage:

Looks good, keen to try it! 

Tags: linux

Tentative first step framebuffer with LittleVGL

August 19, 2018 — BarryK

As posted earlier today, I have started to evaluate LittlevGL:

the "PC simulator" does look like a good starting point, though it is setup to create a binary named "demo" that is linked against SDL2. That's OK for learning, but I am aiming to talk directly to the Linux framebuffer.

For EasyOS, SDL2 packages are available here (libsdl2-*):

Download the pc-simulator zip file:
Direct link to version 5.1.1:

Expand the zip file, and this is what you see:


Open a terminal, and type "make". That's it, a binary named "demo" will be created. Run it "# ./demo", and you get a GUI:


There is another tutorial web page that explains how to create a simple "Hello World" app using the Linux framebuffere, so onto that...

Hello World with Linux framebuffer

There is an introduction and tutorial here:

I fiddled around for awhile. Like the "PC Simulator" tutorial page, there is a conceptual-gap in the instructions. Here:

2. Compile the code and go back to character terminal mode, how to compile it? For a beginner, this is an awkward step. A Makefile is needed. These are the steps that I followed:

  1. Run "make clean"
  2. In the 'pc-simulator' folder, I moved 'lv-conf.h', 'lv_drv_conf.h', 'lv_ex_conf.h', 'main.c' and 'Makefile' elsewhere.
  3. I then created new 'lv_drv.h', 'lv_conf.h' and 'main.c' as per instructions in the above URL.
  4. I copied-back the 'Makefile' that I had previously moved away, and edited it. Snapshot of the files, 'hide1' is where I moved the original files to:


Here is my edited Makefile:

# Makefile
CC = gcc
CFLAGS = -Wall -Wshadow -Wundef -Wmaybe-uninitialized
CFLAGS += -O3 -g3 -I./
#LDFLAGS += -lSDL2 -lm
BIN = demo

LVGL_DIR = ${shell pwd}

MAINSRC = main.c

include ./lvgl/lv_core/
include ./lvgl/lv_hal/
include ./lvgl/lv_objx/
include ./lvgl/lv_misc/lv_fonts/
include ./lvgl/lv_misc/
include ./lvgl/lv_themes/
include ./lvgl/lv_draw/

include ./lv_drivers/display/
include ./lv_drivers/indev/

OBJEXT ?= .o





all: clean default

%.o: %.c
@$(CC) $(CFLAGS) -c $< -o $@
@echo "CC $<"

default: $(AOBJS) $(COBJS) $(MAINOBJ)

rm -f $(BIN) $(AOBJS) $(COBJS) $(MAINOBJ)

I do realise that more modules than are needed, are being included in the build, but that's OK, as I plan to play with adding more widgets. Notice that SDL2 is not being linked.

Run "make", it creates 'demo'. This will not run on the Xorg desktop, though I vaguely recall a method of doing it in a terminal. Anyway, the way to test 'demo' is to exit from X, via the Shutdown menu in EasyOS (and most pups). Then, on the commandline, as long as a framebuffer has command of the screen, which is likely (there are some caveats), just execute 'demo', where-ever it is.

On the commandline, here is what it looks like:


That's as far as I've got. Next, need to investigate mouse support...

Tags: linux, easy

First go at evaluating LittlevGL

August 19, 2018 — BarryK

As posted about a couple of days ago on this blog, I have an interest in creating small GUI apps that will talk directly to the Linux framebuffer. Here is the post:

I tentatively narrowed the choices down to LittlevGL, uGFX and Nuklear. LittlevGL looks great, so giving it a go. The website:

The "PC simulator" looks like a good starting point:, I followed the instructions. Installed Eclipse IDE, etc. Got to this part:

Now you are ready to run the Littlev Graphics Library on your PC. Click on the Hammer Icon on the top menu bar to Build the project. If you have done everything right you will not get any errors. Note that on some systems additional steps might be required to "see" SDL 2 from Eclipse but in most of cases the configurtions in the downloaded project is enough.

After a success build click on the Play button on the top menu bar to run the project. Now a window should appear in the middle of your screen.

Now everything is ready to use the Littlev Graphics Library in the practice or begin the developement on your PC., no, that didn't work. Yeah, the "Hammer Icon" part is OK, it reported a successful build, however, the "Play" button did nothing. Searched the source, couldn't find the compiled files anywhere. Hmmm...

It turned out, the instructions are incomplete, extra steps are required, as explained on YouTube:

However, decided to start again, from scratch. I was not drawn to the Eclipse IDE, it seemed unnecessarily complex, and bloated, requiring Java JRE. Will attempt to do it from  a terminal only.

To keep a clean separation, will create another blog post...

Tags: linux

GUI creation for the Linux framebuffer

August 17, 2018 — BarryK

For a long time I have wanted some means of creating very small GUI apps that are statically compiled and work directly with the Linux framebuffer. The use would be for a GUI app in the initramfs.

I recently discovered LittlevGL, and then decided to ask for the opinion of two guys who are real experts in this field, 'technosaurus' and 'goingnuts' (their Puppy Forum names).

Firstly, here is a post about LittlevGL:

I sent a pm on the Puppy Forum to technosaurus, and he responded:

littlevgl has been on my radar for a while now - I do like it, but its no gtkdialog replacement; you can see more of my projects of interest at I am in the process of moving from near Houston, Texas to near Kansas City, Missouri (U.S.) We have moved 3 times in 3 years so I have not been coding for some time - just reading/analyzing code for future use (thus all the starred projects, but few commits)

Besides littlevgl, the ones I know of that will work for the framebuffer (and X) are: forum thread here + oui/blendish (uses SDL) (lacks widgets)

more gtkdialog-like: some largish dependencies (libpng,libjpeg,
libxml2,freetype,fontconfig) possibly unmaintained and needs freetype and lua - uses any raw framebuffer (or X11 depending on configuration)

Some notes.

For the ones that use opengl (or GLES) a specially built Mesa is needed and some framebuffer drivers are not supported because they lack support for kernel mode setting (unfortunately no one has ported Fabrice Bellard's tinygl as a fallback)

littlevgl seems to be a retained mode GUI like gtk and kde (but seems to be simplified so that you need ~1/3 less code than gtk and without the huge overhead of c++ and qt) There is a template here and it seems to be targeted to Linux with growing driver support
nuklear and nanovg are immediate mode GUIs which cater toward game development and tend to use more CPU, though nuklear appears to have addressed this since I last tested it. However, since they are single header files, anything unused will get compiled out so they make small binaries.

GUIslice could be a good compromise since it uses SDL (1.2 or 2.x) which will handle the framebuffer (or X) for you. It isn't as pretty though - basically an improvement on curses.

I was aware of Nuklear, and did look at it briefly a year or so ago.

Here is another one, uGFX:

This is a commercial product, free for "home, hobby and educational" use. It is an open source project, and will work with sdl or directly with the framebuffer. Git project site: 

Tags: linux

Quirky Xerus 8.6 released

August 16, 2018 — BarryK

Quirky Linux 8.6 is the latest in the "Xerus" series, binary-compatible with x86_64 Ubuntu 16.04.5 LTS, though built with woofQ and architecturally very different from Ubuntu.
Quirky is an experimental distribution, that forked from Puppy Linux a few years ago, and has followed a different path, exploring some new ideas. Continuing the Puppy tradition, Quirky has a "complete" suite of applications, drivers and utilities, in a very small size.
Version 8.6 is an incremental upgrade from 8.5, with package upgrades and architectural improvements. The SeaMonkey web browser is now 2.49.4 and the Linux kernel 4.14.63. EasyShare, simple network file and printer sharing, continues to evolve, and now supports connection to an Android phone.

Release notes:

There is a choice to download either a ISO file for a CD, or an image for a USB flash drive:

Instructions to install:

There are some alternative install scripts, for those experienced on the Linux commandline:

The latest woofQ, as used to build Quirky 8.6, is here:

Forum feedback thread, discussion of 8.6 starts on page 53:

Have fun!

Tags: quirky

EasyShare supports Android phone via USB

August 13, 2018 — BarryK

I posted recently about Android utilities being included in future EasyOS and Quirky releases:

EasyShare is now using these utilities and supports file sharing via an Android phone connected by USB cable.

The main GUI now has a checkbox "Android USB", and it is very simple to use. Here is a snapshot:


The only slight difficulty, very slight, is that Developer mode and USB debugging have to be turned-on on the phone. The phone is automatically discovered, and it is just a matter of clicking the "Mount" button. 

I have updated the EasyShare tutorial page:   

Tags: easy, quirky

CAPITAL F pdf magazine

August 09, 2018 — BarryK

This is interesting. "CAPITAL F" is created by Bryan Lunduke, and the first issue features an interview with the main guy behind Purism and the Librem 5 phone. It also has an overview of all the failed attempts to put Linux, or Linux-like OSs on a phone.

See here:

And here is the magazine, a pdf file:


And the website: 

Tags: ethos