Skip to main content
6 events
when toggle format what by license comment
May 6, 2015 at 1:41 comment added don_crissti OP wants the file chooser to default to / (not cwd) which is not possible. As per the official gtk2 docs: The StartupMode key controls whether the file chooser starts up showing the list of recently-used files, or the contents of the current working directory. Respectively, the values can be recent or cwd. The same applies to gtk3, you can only choose between recent or cwd (those values are hard-coded).
Aug 2, 2014 at 12:15 comment added ntd @Martin Vegter: gtkfilechooser.ini must be already present there (it is saved every time you exit the filechooser dialog). If not you probably have a non standard XDG_CONFIG_HOME, wrong privileges or some sort of other file system problems.
Aug 2, 2014 at 12:11 comment added ntd @slm: the ini file is automatically picked up by GTK+, this is the relevant code.
Jun 2, 2014 at 7:26 comment added Martin Vegter @arnefm - the file $HOME/.config/gtk-2.0/gtkfilechooser.ini did not exist. When I create it and add StartupMode=cwd and restart, I see no effect.
Jun 2, 2014 at 1:29 comment added slm It's not a GTK2 desktop that controls this, the applications that are GTK2 vs. GTK3 will decide on picking up this option or not. That being said all GTK2 apps will then present the file chooser dialog using the current working dir. with cwd set as above.
Jun 1, 2014 at 22:28 history answered arnefm CC BY-SA 3.0