Skip to content

Instantly share code, notes, and snippets.

@AnwarShah
Created October 25, 2016 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AnwarShah/6ecc67a3f3003af68f3bff563b28cf56 to your computer and use it in GitHub Desktop.
Save AnwarShah/6ecc67a3f3003af68f3bff563b28cf56 to your computer and use it in GitHub Desktop.
shell gui
Bash is a Shell. A shell is a command-line interpreter, an interface for you to call other programs/commands. That's why it is called **Command Line Interface** or CLI. So, a shell scripting language provides constructs that facilitates this interaction only, but never provides GUI tools to build graphical interface. It's not a full-fledge language with its own graphical components. You can use these shells to call other CLI tools (most commonly) and sometimes a GUI tool (like [zenity][1]).
Since Shells never provide gui building support, there can be no question of having a GUI building tool for them.
Yes, as I already said, you can use [zenity][1] and other similar tools to bring GUI components, but those are third party libraries called from bash, not bash things themselves (Zenity is a GNOME tool).
Check the answer to a similar [question here][2] on [unix.se]. Also check this question on Stack overflow
- [How to make a GUI for bash scripts?][3]
[1]:http://library.gnome.org/users/zenity/stable/
[2]:http://unix.stackexchange.com/a/119009/19288
[3]:http://stackoverflow.com/questions/928019/how-to-make-a-gui-for-bash-scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment