Developer on Alibaba Coud: Build your first app with APIs, SDKs, and tutorials on the Alibaba Cloud. Read more ＞
For more information about LinuxGUI and GNOME-Linux general technology-Linux technology and application, see the following. The following statements are very inaccurate and only enhance your understanding.
1. D-Bus, DCOP, bonobo
Bonobo is a component model that adopts the CORBA standard in GNOME. It was developed inspired by Microsoft OLE.
DCOP is a set of IPC Mechanisms for KDE3.X. In the new GNOME and KDE4, D-Bus is used as the new IPC Mechanism. D-Bus is a system built on HAL and uses message mechanisms to implement IPC. The advantage of using these mechanisms is that you can flexibly establish communications between different processes, making process execution more automated and intelligent, for example, we can use the DCOP command line interface to control the KDE Desktop, such as changing the background and closing a program using DCOP.
2. About widgets, styles, theme engine in gtk +
A widget represents a widget in the UI, such as a button or a check box.
Gtk + is a combination of Widgets. You can use gtk + to create the application UI.
A style is a widget display method, such as color, Font, and background image.
Theme engine is a group of shared objects that provide code for drawing apps. It also contains configuration files, resource files (bitmaps, etc ). A theme is a combination of configuration files, specifying the engine and style used by each widget in the theme. In addition, there may be some built-in resource files.
3. Is GTK + a graphics library?
Not strictly. GTK + provides an API to draw the GUI of an application, and its underlying layer is Cairo. Cairo is the graphics library in a strict sense. It provides high-quality vector graph rendering APIs.
4. GNOME Components
The architecture is as follows:
GDK is an intermediate layer between GTK + and the underlying X Window. You can use it directly to draw the UI. (Similar to the relationship between Swing and awt in Java)
GLib (different from GLibc) provides the most basic data types, macros, and other code for upper-layer programs. Pango is a set of libraries for rendering and drawing fonts. Glade is a high-level encapsulation of GTK +. By compiling an XML configuration file, you can easily establish the application UI and separate the code for writing the UI from the underlying functions of the program. Similar to the relationship between MFC and Win32 APIs.
Is the standard file manager of GNOME. It provides a standard interface for users to browse file systems and start applications.
Note: The "desktop" in GNOME is actually a Nautilus window.
6. About desktop "programs"
Both KDE and GNOME follow the freedesktop desktop entry standard and use a configuration file to run the program.
(The contents of xxx. desktop are as follows)
Name = xxx
Exec = yyy
Comment = zzz
It is a valid desktop entry. GNOME and KDE will automatically read the information of this configuration file and execute the program described in it.
This article is an English version of an article which is originally in the Chinese language on aliyun.com and is provided for information purposes only. This website makes no representation or warranty of any kind, either expressed or implied, as to the accuracy, completeness ownership or
reliability of the article or any translations thereof. If you have any concerns or complaints relating to the article, please send an email, providing a detailed description of the concern or
complaint, to email@example.com. A staff member will contact you within 5 working days. Once verified, infringing content will be removed immediately.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
and provide relevant evidence. A staff member will contact you within 5 working days.