Advertisement

Programming for *nix

Started by February 26, 2006 03:54 PM
0 comments, last by stormrunner 18 years, 9 months ago
I want to get a little more knowledge about how unix systems work, specifically windowing, and system message passing. From what I've read there are several different windowing variants depending on your unix distribution, is that correct? Can someone point me in the direction of some of the more popular windowing methods for unix systems, and possibly some tutorials on how to program them?
Quote: Original post by I_Smell_Tuna
From what I've read there are several different windowing variants depending on your unix distribution, is that correct?

No, the window manager you use is simply your preference. Many distros - such as Ubuntu and Suse - pick one as their "flagship" and perhaps modify it, but that doesn't mean you can't install a different one if you felt the need.

Quote: Original post by I_Smell_Tuna
Can someone point me in the direction of some of the more popular windowing methods for unix systems, and possibly some tutorials on how to program them?

Most Linux window managers are built on top of X, which is based on a client-server model. Coding for X can be a harrowing experience as most tutorials (like this one) will get you up and running with basic functionality, but from there you're mostly on your own as the documentation for some of the more advanced features is somewhat scarce.

A better idea is to use one of the window manager libraries, such as Qt which powers KDE or GTK the backend of GNOME. Both of these libraries are well documented and far easier to use than plain X. They will also show you some cool ways of handling messages and interacting with components - you might fight Qt's signals and slots extremely interesting.

As for Linux specific system programming, you might find this to be of help.
- stormrunner

This topic is closed to new replies.

Advertisement