How does gui work in linux




















Icons are used both on the desktop and within application programs. Examples include small rectangles to represent files , file folders to represent directories , a trash can to indicate a place to dispose of unwanted files and directories and buttons on web browsers for navigating to previous pages, for reloading the current page, etc.

Commands are issued in the GUI by using a mouse, trackball or touchpad to first move a pointer on the screen to, or on top of, the icon, menu item or window of interest in order to select that object.

Then, for example, icons and windows can be moved by dragging moving the mouse with the held down and objects or programs can be opened by clicking on their icons. A major advantage of GUIs is that they make computer operation more intuitive, and thus easier to learn and use. For example, it is much easier for a new user to move a file from one directory to another by dragging its icon with the mouse than by having to remember and type seemingly arcane commands to accomplish the same task.

Adding to this intuitiveness of operation is the fact that GUIs generally provide users with immediate, visual feedback about the effect of each action. For example, when a user deletes an icon representing a file, the icon immediately disappears, confirming that the file has been deleted or at least sent to the trash can. This contrasts with the situation for a CLI, in which the user types a delete command inclusive of the name of the file to be deleted but receives no automatic feedback indicating that the file has actually been removed.

The result is a large increase in the flexibility of computer use and a consequent rise in user productivity. But the GUI has became much more than a mere convenience. It has also become the standard in human-computer interaction, and it has influenced the work of a generation of computer users. Moreover, it has led to the development of new types of applications and entire new industries. An example is desktop publishing, which has revolutionized and partly wiped out the traditional printing and typesetting industry.

Despite the great convenience of the GUI however, system administrators and other advanced users tend to prefer the CLI for many operations because it is frequently more convenient and generally more powerful 1. On Unix-like operating systems, GUIs are actually just attractive, convenient coverings for command line programs i.

Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Learn more. Asked 5 years, 11 months ago.

Active 3 years, 2 months ago. Viewed 3k times. Improve this question. Rui F Ribeiro CuriousGuy CuriousGuy 2 2 gold badges 6 6 silver badges 15 15 bronze badges. It seems broad question! Pandya well, I am not sure it is so broad. I just need some human friendly explanations of sentences per question.

Add a comment. Active Oldest Votes. What is Desktop Environment? What is Desktop Manager? It consists of icons, search boxes, windows, menus, and many other graphical elements. Command language interpreter, Character User Interface, and console user interface are some different command-line interface names. CLI permits users to put in writing commands associate degree exceedingly in terminal or console window to interact with an operating system. GUI permits users to use the graphics to interact with an operating system.

GUI stands for graphical user interface. It is a user interface which user interact with applications by making use of graphics. In CUI user has to interact with the applications by making use of commands. GUI offers visual representations of the available commands and functions of an operating system or software program using graphical elements such as tabs, buttons, scroll bars, menus, icons, pointers and windows. GUI allows users to easily access and manipulate available functions.

In short, GUI libraries such as Qt interact with those libraries of the operating system and creates an easier bridge for you, the programmer to interact with the monitor. So if you want to know whether a local GUI is installed, test for the presence of an X server.



0コメント

  • 1000 / 1000