Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

KDE/Gnome???

Status
Not open for further replies.

TheBigBasicQ

Programmer
Dec 20, 2001
107
IN
Hi, I was just wondering how would i go about developing my own GUI like KDE or GNOME? What kind of development tools would i require? I want to develop for RH Linux.

Please dont laugh or scoff at my question =P

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
Where can i find some resources on them?

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
My experience has been that KDE uses Qt extensively, and that Qt is written in C++. Gnome, Gtk, etc seem to be mostly C-based.

Frankly, after fighting through the tutorials, trying to get a grip on a million different callback functions and hooks and signals, I just gave up and started using PHP and doing web-based stuff ;-)

----
JBR
 
see i dont want to develop for any of these GUIs. I want to develop my own. So is there some kinda resource which will help me?

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
Ahem...any website I can refer to?

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
kind of off topic and not really helping, but what exactly is Qt anyway. It came with my Mandrake distribution and i cant figure out exactly what it is.

----------------------------------------------
3.14159265358979323846264338327950288419716...

MasterPi
 
What is Qt?
Google is your friend. It's first hit brings you directly to Trolltech's sites (Qt's devolopper), the place to be for your question.

WINE... To be more exactly: wine is not a emulator for windows-programs: Wine Is Not an Emulator :) It's a re-implementation of M$-Windows libraries (correct me if I'm wrong).
 
Typical linux windows structure:
[tt]
desktop GNOME
windows manager GDM
x-server XFfree86
op sys Debian
[/tt]

XFree86 is the (almost) universal X-server for linux. The XFree86 website has pages upon pages of documentation about the project and information for developers.

Although Gnome and KDE are almost ubiquitous, there are other linux window systems out there with fantastic names like Sawfish and Enlightenment... see Matt Chapman's page ( for a few to take a look at!

<marc> i wonder what will happen if i press this...[pc][ul][li]please give feedback on what works / what doesn't[/li][li]need some help? how to get a better answer: faq581-3339[/li][/ul]
 
Are you trying to build a window manager like BlackBox, or are you trying to build an environment like KDE? If you just want to build a window manager, go to Window Maker's or IceWM's website and download the source. Take a look at how it's built, and go from there. Good luck, I'd be interested in seeing your finished product.

Iolair MacWalter
 
Hi, thank you all for your replies.

manarth: Thank you for your especially helpful post.

iolair: I am trying to build a environment like KDE/GNOME and not just a window manager.

Does anyone of you know of some site where I can find some info on Linux architecture(but more precisely on its GUI environments)? For example how exactly these environments are built or how to get started.


Nobody is perfect =(
.
.
.
.
I am nobody =D
 
The basics:
XFree86 is XWin... KDE and GNOME are extensive eviroments that each use a set of grapics libraries (Qt and GTK++), these run on top of a window manager (or GNOME does, KDE has it's own, but can be used with others)... You'll probably have to start by writing your own windowing/GUI libraries (Qt and GTK++ are both free now (i think -- Qt wasn't always)) and you can download their source to figgure out where to start.

Thoughts:
You may want to try and use some of the free graphics libraries that are you there and see modify them to wrap windows and then develop an encroment based off them.
 
So, basically I write a GUI library? Do you know allegro? I will be using it to design my GUI library. Once I have my GUI library done what do I do next? Do i build applications using it? How do I get Linux to load my environment on start up? For example I have a graphical login at my Red Hat 9 machine and I can select the session like KDE, GNOME, XFCE etc... How do I get my environment in that list as well?
I must follow some standard for registering my environment as well. Like having some common configuration files and such stuff. Where do I find info on that?

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
> Does anyone of you know of some site where I can find
> some info on Linux architecture
> (but more precisely on its GUI environments)?



> I must follow some standard for registering my environment as well.
> Like having some common configuration files and such stuff.
> Where do I find info on that?

 
Thank you. Those sites are very useful.

Nobody is perfect =(
.
.
.
.
I am nobody =D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top