GTK+3 filechooser location bar and side panel questions
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
GTK+3 filechooser location bar and side panel questions
Hello, all,
I recently updated my Slackware -current and now most GTK applications link to GTK+3. I have two questions, specifically regarding the GTK+3 filechooser:
- Is there any way to have the location bar permanently at the top, like in GTK+2? Instead of typing CTRL+L each time?
- Is there any way to hide mount points from the side panel? I have a lot of mount points and having them all displaying pushed my bookmarks way down and I have to scroll. (Also I don't have gvfs installed, so I cannot hide them on fstab).
BTW, the 2d point - mount points - was already a problem for a while, with GTK+2, since I updated from 14.1 to current 2-3 months ago. However this new behaviour with the hidden location bar makes it non-intuitive to use.
Welcome to LQ, rainydais!!! Did you find a solution?
Excuse this semi-necropost (profile shows last visit Sep8):
I was poking around ZRT 3-93days-old by 1st-timers, &looked@ The#1distro LQforum
This was the only such zrt (excluding a few informational fyi/wiki-ish/success-story zrt)
Well, now there's none in Slack* and OP has been Welcomed2lq
Sorry, the best Gooey answer I have is: try this RPN sh cmd:
>ls ls;rm ls Maybe someone else has a better GUI answer
Is there any way to have the location bar permanently at the top, like in GTK+2? Instead of typing CTRL+L each time?
I have searched for more than a year. I have not found or read about any permanent configuration option. If the file name is known, users can type the file name and the location bar appears automatically. This is livable but is not as intuitive as presenting the location bar all the time.
Quote:
Is there any way to hide mount points from the side panel?
Same futile search results. I use removable drive bays. When I insert a drive the panel gets populated with all of the new drive partitions. Quite a mess and confusing because there is no way to distinguish partitions when the drives are like-for-like, such as backup drives.
Side note: GTK2 stores file picker configurations in ~/.config/gtk-2.0/gtkfilechooser.ini. GTK3 stores the information in the dconf database at org/gtk/settings/file-chooser. The GTK3 config remembers the width of the side panel and the GTK2 configs do not. I wish the GTK2 file picker could remember the panel width and I wish the upstream devs had otherwise left the file picker dialog alone.
Side note: GTK2 bookmarks are saved in ~/gtk-bookmarks. GTK3 stores the bookmarks in ~/.config/gtk3-3.0/bookmarks. The file format is the same. I create a symlink to share the same bookmarks. The GTK bookmarks file does not support separators, which leads to a cluttered bookmarks collection.
@!!!
Thank you for the welcome and for bumping this thread.
@Didier Spaier
I didn't think that the `GtkFileChooserDialog` was WM/DE dependent, but glad to hear it might be. I use Fluxbox, but if you have any other solution that works on any WM or DE, please share, I am looking for really *any* hint regarding this. The GTK+3 open dialog comes up in any GTK+3 application (ex, `gvim` )
@upnort
Yeah... Honestly, I sometimes wonder what they are trying to do with GTK. Whoever thought that populating the sidebar with every single mount point found is a better idea than the "File System" shortcut.
I am also a bit surprised that this question is not more frequently asked. I, too, was surprised by the lack of relevant search results. I guess that others don't have as many mount points as I do, or don't use the shortcuts (or just hide the mount points with gvfs). I wish that, at the very least, I could move the bookmarks tab before the mount points tab. At this point, it's of no use to have bookmarks, as it is faster to just type the location name after CTRL-L and unhiding the location bar ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.