Several concepts of x-window

xiaoxiao2021-03-06  51

1. Terminology GUI, Window Manager, Desktop, and Interface Differences (if any), what is the relationship between them and X WINDOW?

X Windows is a way to draw something on your screen. All X Windows clients (painting in front of you) know how to respond to certain commands, such as "draw a green box", "draw a point" to allocate memory for customer image ... this is not like What you think is Windows. All applications send these commands to your client. This is through TCP / IP, implemented, even if your application and client are also on the same machine. This point is very important. The primary design defect in MS Windows is the lack of network layers in the window system. Each X application (any window ... xterm netscape xclock) View "Display" environment variable to find out that it should make itself itself. If your Display is set to Computer1: 0.0 and you are in Computer2, when you type 'xterm' is it will pop up on the computer1 screen. (If your permission is permissible). That's why I am on the computer I work, I can open the window from HP, RS6000 and Sun's Linux. They can work very well.

2. All window managers (like GNOME or KDE or FVWM95) are running on X Windows?

Yes it is. According to the above, you should now know that X is the thing that draws. Anything you need to draw is running on X.

However, we need to make some cleaner, because I haven't told you this. In MS Windows, when a program hangs, it will take your screen until you turn off it. At this time, you usually have no way to move it or minimize it. This is the second defect in Windows design. Each MS Windows program has some code to handle headline strips, close, maximize, and minimize buttons. These codes in a shared library, so you don't write it yourself. But there are always some there. In the X Windows miles, I don't know its title bar, or button on the title bar. The program only tells X to draw them only when it needs. Another program, window manager to do this. (It manages window) Window Manager is responsible for drawing these headings and buttons above. When you minimize a window or use the icon to replace it, the window manager is also hidden in this window. The program cannot participate in these things. This means that even if the program hangs, it is still movable, can be minimized, can be turned off. (Sometimes you can't be closed unless your window manager is set to send kill -9) KDE and GNOME is not a window manager. They do not draw headings, let you change the size of the window or what else. They are just a program, providing button bars (some window manager do this) and other elements, tell the procedure what they look.

3. What does it mean to say that the application is based on GNOME or KDE? If it is not, what will happen? Can you still run it?

GNOME-based application is what what I just mentioned just mentioned. When gnome tells them what they look like and their behavior, they will pay attention to GNOME. If gnome says "Your background should be red", they will make a red background. There are also some advanced features. For example, when a program is asked if there is a spell check, GNOME can provide one (see CORBA).

What is the 4.GTK (for gnome) or Troll (for KDE)?

This is a hidden layer called widget. It allows you to say "Draw a button" instead "to draw a box, then look 3-dimensionally protruding edge on the four side of the box, put this text in the box, can detect the mouse Click, if you have a click, you have to go down the 3-dimensional spring box, and then quickly draw it. " Do not use the widget set to write the program to do this complicated thing is not a good idea. 5.Linux (or UNIX) window manager's history and how much it is using by Windows98 / 95 users? In particular, how to evaluate Microsoft limits their choices by a given user, this desktop is believed to be designed for user use.

I think you can get this answer from other answers. Really limited:

1. You have to run it on the same machine you want to see this program.

2. If you don't like Windows work, you can't choose another window manager.

3. No matter how to set up Windows, if there is only one thing you need, there is no way to do it. Use X, you can use different window managers, desktops, widget sets, no matter what.

6. How is the Universal Desktop Environment (CDE)? It is because it is too much consuming system resources or has not been opened by Linux users.

CDE is designed for large UNIX vendors. It needs to be redesigned and meet everyone's needs, so there are gnome and kde.

转载请注明原文地址:https://www.9cbs.com/read-82886.html

New Post(0)