Currently I am using tkinter‘s askopenfilename in a quicklist editor for Ubuntu to get a file’s name and location. Although it works fine, the look and feel is not native.
Is there an easy alternative dialogue window, to navigate and get a file’s name and location?
Zenity
Zenity’s File Selection Dialog provides an easy and natively looking solution with the
--file-selectionoption. The dialog provides a number of options.See also Zenity’s man pages.
In its simplest form:
Gtk’s FileChooserDialog
Another option is Gtk’s FileChooserDialog, which produces, as one might expect, perfectly natively looking file chooser dialog windows.