Without knowing your application, I do not know what sort of input must be obtained. But, if you are looking for a series of simple questions (or even a file selection dialog box), you may want to look at zenity.
For example, you script could contain: SPEED=`zenity --entry --text="What is the airspeed velocity of an unladen swallow?"` And it would pop up a dialog box asking for input and set the value of speed to the input. For anything more complex, you may want to look at some of the rapid application design programs such as glade. -Nathan On Mon, May 10, 2004 at 10:21:12AM -0400, Ryan Leathers wrote: > Recently I wrote a bash script which uses getopts and a read to handle > user input. The script works great and is a huge time saver for the > folks who use it. However, in spite of my best efforts at providing > good input validation, help, and usage examples the users are pining for > a GUI tool. > > Can anyone suggest a quick and dirty way to put a GUI wrapper around my > command line tool? >
signature.asc
Description: Digital signature
-- TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug TriLUG Organizational FAQ : http://trilug.org/faq/ TriLUG Member Services FAQ : http://members.trilug.org/services_faq/ TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
