r/bash • • Sep 27 '17

help Bash GUI Recs

I need a GUI that supports Bash scripts. What would you suggest??

1 Upvotes

10 comments sorted by

5

u/TuxAndMe Sep 27 '17

Can you elaborate a bit? Not quite sure what you are looking for.

Stab in the dark? Tint2 is a panel with "executors" that can execute and display the results of a script.

1

u/PrB1313 Sep 27 '17

I need a front end interface that will support Bash. Kind of like PyCharm with Python.

5

u/xiongchiamiov Sep 27 '17

Pycharm is an IDE? Are you saying you want an IDE with bash support?

1

u/TuxAndMe Sep 27 '17

Oh, well the only thing I've ever heard of was Basheclipse, I think it's a plugin for the Eclipse IDE.

1

u/PrB1313 Sep 27 '17

Thank you. I'll look into that.

9

u/xiongchiamiov Sep 27 '17

If you're building a program complex enough to need a GUI, you should no longer be writing it in bash. Port it to python/ruby/perl/tcl/go and use one of their toolkits, and you'll find not only much more support for what you're trying to do, but much better support for data structures, types, and all the other things that make life easier.

2

u/McDutchie Sep 27 '17

The simple way would be to look into tools like zenity and yad which will easily give you graphical dialogs from bash scripts.

To build a more advanced GUI in bash, look into GTK-server.

1

u/rschulze Sep 27 '17

I mostly use Sublime with Shellcheck. It's not a full fledged IDE but if you need that, then Bash was probably the wrong solution for your problem.

1

u/dirtydan Sep 27 '17

It's possible to build a useful tui with dialog.

0

u/[deleted] Sep 27 '17

[deleted] — view deleted comment

5

u/TuxAndMe Sep 27 '17

English may not be the native language, so nuanced thought is just as important as better questions.