Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to understand Ubuntu Xwindow

2025-01-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

In this issue, the editor will bring you about how to understand Ubuntu Xwindow. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.

Xwindow is the industry standard of workstation graphics system. It has many different implementations. Xorg is used in Ubuntu system. (the more avant-garde graphical interface system XGL actually replaces the role of X server, and there is a matching window manager.)

History

Of course, Xwindow has a long history and tradition, but that's outside the scope of our discussion. There are two points you should pay attention to:

The original meaning of "X" in ◆ Xwindow and Xbox is different. X is just a letter after W, so it should be understood that Xwindow is the successor of Window (note that Window is not Windows).

◆ similarly, do not describe Xwindow as Xwindows, it is a blasphemy! All great creations deserve to be understood and respected.

Structure and principle

Xwindow uses a server-client architecture. Both local and remote graphical interfaces work in the same process. In this way, there is no need for separate design and maintenance, which greatly improves the transparency of the network.

Local X client ┐ ┌ keyboard

Remote X client ┼ X Protocol ─ X Server ─ hardware specification ┼ mouse

Remote X client ┘ └ display

Xserver

Xwindow system server side, through the driver (hardware specification) to manage hardware resources. For example, when we move the mouse, send a message to Xserver through the driver [5]: "move 200 points to the right, move 100 points up" (move up to the right), "press the left button".

Xserver responded as follows:

1. The coordinate of the last mouse stop is 600500.

2. 200 to the right, 100 up. Now the mouse is at coordinates 800600

3. At coordinates 800600, the "close" button of the window Firefox

4. According to the preset action, translate "Click the close button of the Firefox window" into "close the window Firefox".

5. Send an "exit" message to the X client Firefox

6. Xserver displays the position and movement of the mouse through the display subsystem (video card, monitor).

Introduction to Ubuntu Xwindow

In fact, sending an exit signal to the program is usually done by the window manager. For the convenience of description, there is no distinction here. Later, we will introduce you to some other details of the window manager. Most mice do not need special drivers because they conform to a hardware specification, such as four movement directions and three keys

The above is the editor for you to share how to understand Ubuntu Xwindow, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report