LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-29-2013, 04:13 PM   #1
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Rep: Reputation: 70
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.
 
Old 12-29-2013, 06:27 PM   #2
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
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
 
2 members found this post helpful.
Old 12-30-2013, 05:05 AM   #3
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by EdGr View Post
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.
 
Old 12-30-2013, 12:39 PM   #4
EdGr
Member
 
Registered: Dec 2010
Location: California, USA
Distribution: I run my own OS
Posts: 998

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
Originally Posted by Slackovado View Post
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
 
Old 12-30-2013, 03:17 PM   #5
Slackovado
Member
 
Registered: Mar 2005
Location: BC, Canada
Distribution: Slackware 14.2 x64
Posts: 308

Original Poster
Rep: Reputation: 70
Quote:
Originally Posted by EdGr View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[Slackware 14.0] [PATCH] Deselect "Recently Used" in GTK+ file chooser by default jtsn Slackware 0 07-21-2013 01:44 PM
"Cannot set LC_CTYPE to default locale: No such file or directory" boofhead Linux - General 2 02-06-2012 08:10 PM
ProFTPd can't change directory "no such file or directory" mpmackenna Linux - Server 2 05-04-2010 03:52 PM
FC3's Firefox "GTK+ file chooser" begone! eco2geek Fedora 1 03-12-2005 12:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration