From: Anurag Priyam Date: 2011-01-08T12:58:06+09:00 Subject: Re: File Dialog Box > I'm writing some scripts that do most everything from the command-line. > Only thing GUI that would really help is a File Dialog box for selecting > file locations. What module would give me the fastest access to one? > (I.e., shortest learning time.) > > Two things that can be taken for granted: > > * Script will be run on Linux system > * Script will be run under Gnome desktop environment Zenity should do the job for you. In IRB try: file = `zenity --file-selection` #=> '/home/yeban/foo' Also, see man zenity for more widgets. -- Anurag Priyam http://about.me/yeban/