LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-04-2009, 04:46 AM   #1
iqnatius
LQ Newbie
 
Registered: Jun 2009
Posts: 1

Rep: Reputation: 0
how or where can i learn about building my own windowing system and app manager


Hi all,
I just started to learn to build a linux distro from scratch with the guidance of http://www.linuxfromscratch.org/.

Now, I am curious about how a windowing system and app manager works. For example, when i double click on firefox icon, i would like to know what happen.

What I know is, please correct me if i am wrong, the program will fork and execute it in the child process. Then a tab appears in the task bar, is this based on pid or is there an app manager keeping track and when the tab instance is clicked on, it will send a message to the app to go to the front.

Now the question is how do I confirm my understanding. Is there any good tutorial for me to build my own KDE or GNOME. Perhaps on top of GTK+.

Thank you very much.

Adrian
 
Old 06-04-2009, 08:45 AM   #2
soleilarw
Member
 
Registered: Apr 2009
Posts: 107

Rep: Reputation: 19
Creating a window manager from scratch is a daunting task. You really should know what you want to achieve. If only curiosity is involved, then rather start out by examining the source code for twm, fluxbox or even WindowMaker. You could also start with Gnome or KDE, but these are extremely complex. Another option would be to get your hands on some old Macintosh or trying to install BeOS or Haiku (a re-coded BeOS) to get a feeling how GUI desktops can be done differently with a minimum of system resources (when compared to recent PC's). The old Inside Apple Macintosh developer books are available as PDF files online, have a Google serach for these. They are old, but provide a good description of GUI interfaces. The old Next manuals are also quite revealing.

In the end you will have to deal with process handling, managing windows (including decoration, borders, title bars, standard clickable items), control items (buttons, checkboxes, lists), maintaining config file, allowing interaction with KDE/Gnome applications, GUI graphics and double-buffering, text and font glyph display, etc, etc.

Linux Archive

Last edited by soleilarw; 06-18-2009 at 04:29 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: VirtualBox and the X Windowing System LXer Syndicated Linux News 0 06-02-2009 05:11 PM
building 32bit app on 64bit system nori Linux - Software 1 07-20-2007 01:10 PM
New linux distro with new Windowing system and new Desktop abimanyu007 Programming 13 08-12-2004 01:28 PM
WindSpeed Linux with new windowing system and desktop abimanyu007 Linux - Distributions 3 08-12-2004 07:03 AM
Slow windowing system Stephanie_new Linux - General 8 05-30-2002 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration