LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Change from default "Recently used" to some other directory in gtk file chooser (http://www.linuxquestions.org/questions/slackware-14/change-from-default-recently-used-to-some-other-directory-in-gtk-file-chooser-4175489497/)

Slackovado 12-29-2013 04:13 PM

Change from default "Recently used" to some other directory in gtk file chooser
 
As the topic says.
This is driving me crazy.
I'd like to set my home folder to be the default in file open or file save dialog boxes in Gtk.

EdGr 12-29-2013 06:27 PM

In ~/.config/gtk-2.0/gtkfilechooser.ini

change
StartupMode=recent
to
StartupMode=cwd
"recent" and "cwd" are the choices available to the user. An app developer can set an arbitrary start up folder by calling gtk_file_chooser_set_current_folder ().
Ed

Slackovado 12-30-2013 05:05 AM

Quote:

Originally Posted by EdGr (Post 5088709)
In ~/.config/gtk-2.0/gtkfilechooser.ini

change
StartupMode=recent
to
StartupMode=cwd
"recent" and "cwd" are the choices available to the user. An app developer can set an arbitrary start up folder by calling gtk_file_chooser_set_current_folder ().
Ed

I've done that but it doesn't look like any applications use that setting. Most still use the "Recent folders" and some, like Medit use last used folder.

EdGr 12-30-2013 12:39 PM

Quote:

Originally Posted by Slackovado (Post 5088931)
I've done that but it doesn't look like any applications use that setting. Most still use the "Recent folders" and some, like Medit use last used folder.

The setting works in Gimp on Slackware 14.1. It may not exist in older versions.

The GTK developers seem to change the file chooser regularly.
Ed

Slackovado 12-30-2013 03:17 PM

Quote:

Originally Posted by EdGr (Post 5089152)
The setting works in Gimp on Slackware 14.1. It may not exist in older versions.

The GTK developers seem to change the file chooser regularly.
Ed

Ok, thanks for the info.
I'm still on Slackware 14 so looks like I'll have to live with this misfeature.


All times are GMT -5. The time now is 02:05 AM.