You are not logged in.

#21 2021-02-23 04:50:49

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: A Collection of GTK Tweaks, Fixes & Settings

^Thanks.
I certainly found the current GTK3 filechooser annoying compared with what I had on Debian Stretch, especially that "File System" is gone from the shortcuts. Now to open a file not in ~/ you have to go to "other locations" > "computer" >... No fix for that I suppose?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#22 2021-02-23 07:06:43

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: A Collection of GTK Tweaks, Fixes & Settings

^ It seems I forgot the most important command!

$> gsettings set org.gtk.Settings.FileChooser location-mode path-bar

Allows you to type in a location (possibly starting with /) or using Alt + Arrow-Up/Dn to traverse the hierarchy.

Of the FileChooser keys I can see, I see none that would do what you want directly.

Last edited by ohnonot (2021-02-24 05:51:02)

Offline

#23 2021-02-23 07:53:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: A Collection of GTK Tweaks, Fixes & Settings

^'filename-entry' maybe?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#24 2021-02-23 12:13:44

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: A Collection of GTK Tweaks, Fixes & Settings

^

gsettings describe org.gtk.Settings.FileChooser filename-entry
No such key “filename-entry”

Offline

#25 2021-02-24 02:47:01

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: A Collection of GTK Tweaks, Fixes & Settings

^(scroll to the end)

gsettings describe org.gtk.Settings.FileChooser location-mode
Controls whether the file chooser shows just a path bar, or a visible entry for the filename as well, for the benefit of typing-oriented users. The possible values for these modes are "path-bar" and "filename-entry".

I think "filename-entry" is the setting for "Allows you to type in a location".

BTW I can set it via gsettings but can't get it to actually apply any change to the GUI. Some dbus issue maybe...
I can

gsettings set org.gtk.Settings.FileChooser location-mode "filename-entry"

and for a while it shows in the output of 'gsettings list-recursively org.gtk.Settings.FileChooser', but makes no difference to the appearance of the geany or mousepad "open" dialogue window, and eventually reverts to "path-bar" anyway.

Last edited by johnraff (2021-02-24 05:49:52)


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#26 2021-02-24 06:17:18

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: A Collection of GTK Tweaks, Fixes & Settings

johnraff wrote:

and for a while it shows in the output of 'gsettings list-recursively org.gtk.Settings.FileChooser', but makes no difference to the appearance of the geany or mousepad "open" dialogue window, and eventually reverts to "path-bar" anyway.

That's what got me confused! The filechooser always and immediately reverts back to path-bar.

I searched, and found this and ultimately this. The issue was closed by some bigwig who also made the incredibly arrogant comment "It is a private gtk setting, you don't really have any business tweaking it. It may disappear at any point." Once again, it makes me hate GTK3.

FWIW, Ctrl-L will activate & highlight the filename entry, but the same happens when you just start to type - and there's a difference if you start typing with / or a letter. Neat, actually.
Ctrl-V also seems to work. Copying filenames is possible, but not complete paths.

Offline

#27 2021-02-24 11:13:22

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: A Collection of GTK Tweaks, Fixes & Settings

ohnonot wrote:

The issue was closed by some bigwig who also made the incredibly arrogant comment "It is a private gtk setting, you don't really have any business tweaking it. It may disappear at any point." Once again, it makes me hate GTK3.

Good grief. roll

FWIW, Ctrl-L will activate & highlight the filename entry, but the same happens when you just start to type - and there's a difference if you start typing with / or a letter. Neat, actually.
Ctrl-V also seems to work. Copying filenames is possible, but not complete paths.

Thanks for that, anyway.


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

Board footer

Powered by FluxBB