Greetings.
Been using 52.4.0 ESR on Jessie for a bit now, and notice the native file chooser which is invoked for uploading presents a somewhat messy UI: All files and folders are completely intermixed. There appears to be no sort option, as the launched interface is not my usual Thunar window.
Where is the tweak to either sort "folders first" with this UI or to call up the system's default file manager for these duties?
Thanks!
Change File Chooser Behavior in 52? (Linux)
-
- Posts: 57
- Joined: April 12th, 2006, 2:44 pm
Change File Chooser Behavior in 52? (Linux)
Last edited by DanRaisch on October 20th, 2017, 1:30 pm, edited 1 time in total.
Reason: "(Linux)" added to subject line.
Reason: "(Linux)" added to subject line.
-
- Posts: 4480
- Joined: March 19th, 2005, 10:51 am
Re: Change File Chooser Behavior in 52?
ok, thatfar you are speaking about Linux as yopur user agent points out - please always add "Linux" "Ubuntu" or similar to headline - most issues are under Windows and linux is a minority - with "linux" in title you will get sooner appropriate help.
as no tuxer you speak in riddles to me, that far found about Thunar
https://en.wikipedia.org/wiki/Thunar
is that a default manager in your linux or did you added it by purpose?
can you disable it or switch back to regular file manager?
would that change anything? if yes, it may worth a message ob bugzilla.
but i am not sure if they provide a patch for 52esr when they will provide a patch.
firefox 57 is close to ready, patch may only concern v58 or v59.
as no tuxer you speak in riddles to me, that far found about Thunar
https://en.wikipedia.org/wiki/Thunar
is that a default manager in your linux or did you added it by purpose?
can you disable it or switch back to regular file manager?
would that change anything? if yes, it may worth a message ob bugzilla.
but i am not sure if they provide a patch for 52esr when they will provide a patch.
firefox 57 is close to ready, patch may only concern v58 or v59.
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Change File Chooser Behavior in 52? (Linux)
You could try the system file manager for the "folder first" and see how that affects things.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
-
- Posts: 622
- Joined: December 10th, 2011, 3:50 am
Re: Change File Chooser Behavior in 52? (Linux)
When I use Alt, File, Open, I get a window with three columns: name, size, modified. When I right-click on the row containing name, size, modified, or even in any blank space in the main pane, I get another small dialog(?) with the following options:
Open with file manager
copy location
add to bookmarks
show hidden files
show size column
show time
sort folders before files
Enable/disable what you want.
***My gtk3 version is 3.18 in case that matters.
The changes you make wrt file/folder sorting are recorded in ~/.config/dconf/user. You can see that by running if you have dconf-cli installed. Part of the output:
Open with file manager
copy location
add to bookmarks
show hidden files
show size column
show time
sort folders before files
Enable/disable what you want.
***My gtk3 version is 3.18 in case that matters.
The changes you make wrt file/folder sorting are recorded in ~/.config/dconf/user. You can see that by running
Code: Select all
dconf dump /
Code: Select all
[org/gtk/settings/file-chooser]
sort-column='name'
sidebar-width=165
window-position=(275, 0)
show-size-column=true
show-hidden=false
window-size=(816, 731)
sort-directories-first=true
date-format='regular'
sort-order='ascending'
location-mode='path-bar'
-
- Posts: 57
- Joined: April 12th, 2006, 2:44 pm
Re: Change File Chooser Behavior in 52? (Linux)
Thanks for the input, everyone...
On all points, my installation of Thunar is indeed configured properly and runs well on Jessie. However, again, the file chooser window which comes up in this case does not appear to be a Thunar process at all: It has no menubar; and it is stripped of all context menuing apart from
Copy Location
Add to Bookmarks
Show Hidden Files
Show Size Column
Indeed, it appears to be a default child window spawned directly from FF.
Is there no config/pref setting which controls whether or not FF directly invokes the default file manager instead of this quick-and-dirty native chooser???
Thanks again --
On all points, my installation of Thunar is indeed configured properly and runs well on Jessie. However, again, the file chooser window which comes up in this case does not appear to be a Thunar process at all: It has no menubar; and it is stripped of all context menuing apart from
Copy Location
Add to Bookmarks
Show Hidden Files
Show Size Column
Indeed, it appears to be a default child window spawned directly from FF.
Is there no config/pref setting which controls whether or not FF directly invokes the default file manager instead of this quick-and-dirty native chooser???
Thanks again --
- Grumpus
- Posts: 13246
- Joined: October 19th, 2007, 4:23 am
- Location: ... Da' Swamp
Re: Change File Chooser Behavior in 52? (Linux)
Look at ui.allow_platform_file_picker see if it's set to true.
Doesn't matter what you say, it's wrong for a toaster to walk around the house and talk to you
-
- Posts: 205
- Joined: March 17th, 2006, 1:52 pm
Re: Change File Chooser Behavior in 52? (Linux)
Thunar is a GTK2 application, but Firefox is by default GTK3 nowadays. Version 52 can be compiled against GTK2 if you want, but later versions can't be anymore.
Anyway, this to you unfamiliar filechooser is the GTK3 one. You can configure it to sort folders first in the right-click menu. But this setting will only be saved if you have dconf installed and running.
Then there's what Grumpus mentions, the ui.allow_platform_file_picker option in about:config. Setting it to false and will give you Firefox's internal filechooser. This one sorts directories first I think, but is does case-sensitive sorting.
Basically, you have three choices:
- install dconf if you don't have it yet and get used to the GTK3 filechooser
- compile Firefox against GTK2, but note that this isn't possible with versions newer than 52
- use Firefox's internal filechooser, by setting ui.allow_platform_file_picker to false
Anyway, this to you unfamiliar filechooser is the GTK3 one. You can configure it to sort folders first in the right-click menu. But this setting will only be saved if you have dconf installed and running.
Then there's what Grumpus mentions, the ui.allow_platform_file_picker option in about:config. Setting it to false and will give you Firefox's internal filechooser. This one sorts directories first I think, but is does case-sensitive sorting.
Basically, you have three choices:
- install dconf if you don't have it yet and get used to the GTK3 filechooser
- compile Firefox against GTK2, but note that this isn't possible with versions newer than 52
- use Firefox's internal filechooser, by setting ui.allow_platform_file_picker to false
- James
- Moderator
- Posts: 28005
- Joined: June 18th, 2003, 3:07 pm
- Location: Made in Canada
Re: Change File Chooser Behavior in 52? (Linux)
Firefox has had GTK3 integration on Linux since Firefox 46.0. If you are using a GTK2 theme on OS instead of GTK3 then Firefox will still work only with some things perhaps not themed properly. For example the scroll bar arrows may be missing and Firefox will look unthemed.
-
- Posts: 57
- Joined: April 12th, 2006, 2:44 pm
Re: Change File Chooser Behavior in 52? (Linux)
theme: GTK2
dconf: not installed
Therefore, changing "ui.allow_platform_file_picker" from "true" to "false" brought up a UI which does automatically sort folders before files; a huge usability + in this situation.
So, thanks again for the input and insights. Will be moving along to Stretch sometime next year when things have been sorted a bit more at that end ;o)
Cheers!
dconf: not installed
Therefore, changing "ui.allow_platform_file_picker" from "true" to "false" brought up a UI which does automatically sort folders before files; a huge usability + in this situation.
So, thanks again for the input and insights. Will be moving along to Stretch sometime next year when things have been sorted a bit more at that end ;o)
Cheers!