You are not logged in.
google not much luck. anyone know how? thanks
Last edited by callmejoe (2022-01-31 04:50:31)
Offline
What do you mean specifically? Is it the one that shows thumbnails after opening a file (called Thumbnail Bar)? Or the one that appears after clicking on Open an image?
If it's the former, you can disable it in the View menu or by pressing Ctrl+M.
If it's the latter, it's Gtk.FileChooser. You can try changing this setting via two methods:
Change its startup mode from 'recent' to 'cwd'.
gsettings set org.gtk.Settings.FileChooser startup-mode 'cwd'
Append a couple of lines to ~/.config/gtk-3.0/settings.ini. If the file doesn't exist, simply create it.
[Settings]
gtk-recent-files-enabled = 0
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
What do you mean specifically? Is it the one that shows thumbnails after opening a file (called Thumbnail Bar)? Or the one that appears after clicking on Open an image?
this is what i wanted disabled.
and this one worked nicely. thanks!
Append a couple of lines to ~/.config/gtk-3.0/settings.ini. If the file doesn't exist, simply create it.
[Settings]
gtk-recent-files-enabled = 0
but should i assume now that all gtk apps' recent file lists will be disabled?
Last edited by callmejoe (2022-01-31 03:55:18)
Offline
this is what i wanted disabled.
It's not possible to do that easily. You have two options: a) modify the code and recompile; b) resort to gtk.css. The second option may be ugly and may potentially lead to an undesirable, broken behavior.
but should i assume now that all gtk apps' recent file lists will be disabled?
Correct. There is currently no way to disable GtkFileChooserDialog for individual apps.
Let me check what else can be done, but if I were you I wouldn't get my hopes high.
Last edited by KBar (2022-01-31 04:00:46)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
You can use the "Clear Private Data" menu option to clear the recently used list for Ristretto. It's not the same as disabling, but you can quickly clear it.
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
and this one worked nicely. thanks!
It didn't work for me but maybe also try creating a folder in ~/.config/ristretto and name it gtk-3.0. Change into it and create an empty file named settings.ini. Paste
[Settings]
gtk-recent-files-enabled = 0
into this newly created file and log back in. As a result,
cat ~/.config/ristretto/gtk-3.0/settings.ini
should print it to standard output.
If it works, remove those two lines from the system-wide settings.ini file, i.e. the one in ~/.config/gtk-3.0.
Last edited by KBar (2022-01-31 05:04:53)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 553.38 KiB (Peak: 554.66 KiB) ]