ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
gtkfb is what it is called. There is also something new called 'fastx' which can run gtk programs on the framebuffer. The disadvantage is that it requires using a patched gtk, but then you don't need to patch or alter each program.
Regarding what gnashley reported, beware that gtkfb is now obsoleted, and it is not supported by newer Gtk's. Basically, DirectFB is a library that handles the guts of talking to the framebuffer. Before DirectFB, Gtk wanted to be on the framebuffer, so they wrote the guts of that themselves. But since DirectFB came out, Gtk just uses that and saves themselves some work. The new DirectFB based gtk is referred to as Gtk-DFB.
I've never heard of this 'fastx', so I'm interested to hear more about it / see a link too. Google isn't turning anything up.
I'm not very familiar with DirectFB, but either the sample code has a bug or some library is not installed. The DirectFB mailing lists would be a good place to ask on this, but maybe someone here will know the answer too.
Might I ask what it's for? Perhaps we can recommend something else? I think I remember hearing that tinyX-ish Xservers have made good advances lately, perhaps that would help?
Xfast combines the server and client sides of X into one thing. It is a desktop environment which fulfills the role of x server and window manager in one application. It is really meant mostly for embedded OS's, but looks as though it might be usable (at some point) for a regular desktop.
There is a project called tinyX, but it is not open-source. I haven't tried Xsynth which is the parent-project of Xfast.
The sources for Xfast includes several accessory applications which are written esepcially for it. They also include patches which can be used for re-compiling GTK. Doing so allows you to run GTK apps under Xfast without any changes to the application sources.
According to Wikipedia and the Xorg tarball tinyX changed its name to KDrive and is now just a build type of the Xorg X server. Thus, it falls under the same license as Xorg. Most people accept Xorg's license to be free.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.