LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-14-2007, 11:42 PM   #1
DARKGuy
LQ Newbie
 
Registered: Jan 2005
Distribution: Ubuntu 6.06 Dapper Drake
Posts: 28

Rep: Reputation: 15
Trying to make a desktop environment - where should I start?


Hey!

I've been having a crazy idea on my head lately about creating a desktop environment from scratch by myself... but I can't find any related stuff! >.<... google points to a horde of pages with desktop environment reviews but I don't want that! I want to know where can I start looking for so I can create my own DE. I have some experience in C/C++, Tcl/Tk, Ruby and a bit of pyGTK... but hey, that doesn't mean my knowledge is limited and I want to embark on this project in any language I feel comfortable and learn more of it too.

So, somebody knows where can I start looking for if I want to make my own DE?
 
Old 06-15-2007, 12:22 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Start by learning one of the two main toolkits: GTK or QT. For the latter, you cannot sell products without licensing from Trolltech. GTK has no such restriction.

A good introductory book--including some material on these toolkits-- is: Beginning Linux Programming, 3rd edition, from Wrox

Last edited by pixellany; 06-15-2007 at 12:52 AM.
 
Old 06-15-2007, 12:36 AM   #3
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
First thing of a DE is Window Manager(WM)... Which is also the hardest ones...
Study ICCCM and EWMH to understand how to program a WM...

Cheers...
 
Old 06-15-2007, 07:40 PM   #4
DARKGuy
LQ Newbie
 
Registered: Jan 2005
Distribution: Ubuntu 6.06 Dapper Drake
Posts: 28

Original Poster
Rep: Reputation: 15
First of all thanks for replying

Quote:
Originally Posted by pixellany
Start by learning one of the two main toolkits: GTK or QT. For the latter, you cannot sell products without licensing from Trolltech. GTK has no such restriction.

A good introductory book--including some material on these toolkits-- is: Beginning Linux Programming, 3rd edition, from Wrox
I've had some experience with GTK and ruby/python/glade so it hasn't been that bad. No QT whatsoever, but thanks for the tip .

Quote:
Originally Posted by ghostdev85
First thing of a DE is Window Manager(WM)... Which is also the hardest ones...
Study ICCCM and EWMH to understand how to program a WM...

Cheers...
But, I've used DEs that can use different WMs (Gnome and XFCE... I can make Gnome use Metacity, XFWM or Beryl), so it means I can make a DE and let another WM do the window work, right?. Also, what is "ICCCM" and "EWMH"? could you explain it to me please?
 
Old 06-15-2007, 09:29 PM   #5
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
Quote:
Originally Posted by DARKGuy
But, I've used DEs that can use different WMs (Gnome and XFCE... I can make Gnome use Metacity, XFWM or Beryl), so it means I can make a DE and let another WM do the window work, right?. Also, what is "ICCCM" and "EWMH"? could you explain it to me please?
Yep DE's don't have to handle any of the nitty gritty window management stuff. You can use a preexisting one, though knowing how they work will help a lot. ICCCM & EMWH really just explains how apps and Window managers "talk" to each other. Just google them for more info.

There was this program I've seen before. It was just a fast, lightweight, standalone taskbar/window list. It would be good to learn from. EDIT: Found it I think, http://taskbar.sourceforge.net/

Check this out too, http://code.google.com/p/avant-window-navigator/ (pretty cool)

Good luck
 
Old 06-16-2007, 01:48 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
I've spent the last two years finding, writing and assembling software for craeting your own DE using mostly only GTK-1.2 programs which will run under any window manager. Pretty fun and useful, too. I've found several hundred programs which cover a lot of needs. Of course they aren't really a DE in the sense that KDE or GNOME is. Most of the concept revolves around getting all the programs to be able to communicate with each other effectively. You know, GNOME stated out as a one-man show, but now-adays it takes a lot of developers to keep up and it's never quite finished.
 
  


Reply

Tags
desktop, environment, programming



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
Desktop Environment phantom_cyph Puppy 4 05-29-2007 10:25 PM
Help Getting a desktop Environment b345713 *BSD 9 12-17-2005 01:28 AM
Which desktop environment do you use? dinolinux General 13 10-01-2005 03:10 AM
Can i make desktop/start menu short cuts blop Linux - Newbie 2 10-30-2003 06:27 AM
What Desktop Environment do you use? carstenbjensen Linux - Software 3 09-16-2003 12:32 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 03:43 PM.

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