-1

I am aware that in distributions such as Ubuntu it is very easy to clear recent files, but I have three questions about recent files:

  1. Does window manager handle these or the Linux itself?
  2. Where can I find the history and how to manage them manually?
  3. Are they usually in same place across different distributions?

I am sitting on Arch Linux with i3 window manager.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62

1 Answers1

0

It is the desktop environment that does handle recent files (KDE uses baloo for example, Nautilus uses ~/.local/share/recently-used.xbel). There is no uniform way of handling recent files.

Potential candidates for what you are looking for are:

Your best bet is to write you own library which would then use KDE/GNOME libraries (or any other backend, if there are other desktop environments which implement these features) to get the data.

The i3 window manager does not implement this however since it does only handle window management and almost nothing else.

Simon Doppler
  • 1,918
  • 8
  • 26
  • Hmm, I am able to see recent files in i3. How could this be? What could be providing this in i3 / Arch Linux? – Mikko-Pentti Einari Eronen Mar 11 '19 at 16:43
  • Where are you able to see them ? If it is application specific, like Libreoffice or most bigger applications, it is the application handling this by itself (not though some central service) – Simon Doppler Mar 11 '19 at 16:57
  • Oh that must be it. That is interesting though. So various softwares are able to actually track what recent files I have accessed and downloaded elsewhere on Linux? For now I have seen recent files on Gimp, VLC, file explorer software, etc. This happened in many places so I thought it was somehow centrally managed. Thank you for the information. – Mikko-Pentti Einari Eronen Mar 12 '19 at 06:05