Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In Unix, the text we type on terminal window is sent to shell as input. How about GUI and TUI? Does it have shell too that handles mouse clicks and keyboard?

share|improve this question

2 Answers 2

By definition, a graphical user interface (GUI) is used by a shell.[1]

Moreover, Unity, the default user interface in Ubuntu, is a shell interface for the GNOME desktop environment.[2]

References:

  1. Shell (computing)
  2. Unity (user interface)
share|improve this answer

It depends on the program, things like GParted are just graphical versions of CLIs. In GParted's case it's obviously the GUI for Parted. What really happens is eventually anything running needs to get down to a compiler so that the computer can understand what's happening. If you want to get a better grasp on the underbelly of a computer, learn some C code.

share|improve this answer
    
The compiler has nothing to do with this. It is needed to compile the program into an executable binary and has nothing to do with actually running it. –  terdon Mar 24 at 14:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.