8

In File select menu I can quickly find my most recent files. Look at the top left corner. File select menu, Recent bookmark How I can choose with file open for editing.

Can I add that view to Thunar? Thunar view

I know I can sort items in directory by access date. However, sometimes when I download files, I have no idea, where have I put them :D. So that view should pull most recent user-edited files from multiple directories.

julka
  • 181
  • 1
  • 3
  • If you don't know where you downloaded the files, how would you know what folder to include in Thunar? If you can narrow your downloading activity down to a specific tool, maybe we can guide you towards a solution. – Jeff Schaller Sep 18 '17 at 10:02
  • @JeffSchaller I think the OP wants a virtual folder that incorporates the result of `find $HOME -type f -mmin -60`. It's quite a nice idea. I think I'd build it as a "real" folder of symlinks. Add new files via `inotifywait` and clean them out from a `cron` job. – roaima Sep 18 '17 at 10:15
  • Plausible, but if the files went to /tmp or /var/tmp or elsewhere, how do we know where to look? I'm hoping the OP can spell out a list for such a solution. – Jeff Schaller Sep 18 '17 at 10:30
  • @roaima Tangentially related: Midnight Commander can do that (i.e. it can panelize a list of files produced by an arbitrary command). – Satō Katsura Sep 19 '17 at 07:53
  • Well, choose file dialogs (when I have to choose specific file to open/upload) have that virtual folder and they get it right. I have no idea, what do they use, so I cannot really give any pointers. – julka Sep 19 '17 at 07:54
  • They include both recent downloads and recent modified files, so I find it convenient. – julka Sep 19 '17 at 07:55

1 Answers1

18
  1. Open ~/.config/gtk-3.0/bookmarks with your text editor.
  2. Add this line at the end: recent:/
  3. Save the file.
  4. Open thunar. There should be a recent bookmark on the side panel now
peterh
  • 9,488
  • 16
  • 59
  • 88