PDA

View Full Version : [all variants] Nautilus or Thunar as File Chooser



KatBuntu
March 17th, 2009, 04:10 PM
Hi guys!
I'm making a script in which user have to input some paths, but they're not (really not) familiar with unix-based systems, i want to display a frame where the user can choose it's file or directory graphicaly browsing, the app have to return a string which i can save in a variable to further use.
Is there a way to make nautilus or thunar to do that?, just to launch the graphical file browser and return a string with the path?
:popcorn:

mcduck
March 17th, 2009, 04:48 PM
No, there isn't. But you can use Zenity for that: http://library.gnome.org/users/zenity/stable/zenity-file-selection-options.html.en

KatBuntu
March 17th, 2009, 05:00 PM
Thanks! that solves the problem, i see Zenity has a large option list, it's great.
:o:o:D:D:D