01-22-2026, 05:01 PM
(01-21-2026, 10:46 PM)nmw01223 Wrote: Thanks. Odd result again.
If I use that in the python console on a GFile I create with ...new_for_path(<path>), it's fine, I get the path back, but if I use it on the GFile that comes out of the config, ie set by the dialog, I get file:\\\<path> - same therefore as gf.get_uri(). Hey ho.
As a quick and dirty test I 'mangled' the save histogram script to use as a test-bed. Run GIMP from a terminal window and you should get 4 lines of diagnostic output when the script is run (ignore the error that follows this output - its just because it doesn't save the histogram and returns a result in an unexpected format).
On Linux Mint 22.3 Cinnamon I get the following output when selected the Documents folder
For get_url file:///home/un/Documents
For get_path /home/un/Documents
For get_parse_name /home/un/Documents
For get_basename Documents

