1

I have recently switched to Kubuntu 17.04 and one of the things I miss most about my previous GNOME-based setup is the ability to search through a long chronology of my recently used files.

From what I understand, GNOME uses the Zeitgeist framework to keep track of recently used files which can record user activities across weeks, months, or even years.

KDE, on the other hand, seems to only be able to track 10 recently used items at a time which are stored as .desktop files under ~/.local/share/RecentDocuments/. There's also .local/share/recently-used.xbel, which is under no such restrictions. But that file only seems to be used by a select few apps, most of them not part of KDE itself.

So I guess my main question is: How do I increase the number of recently used items that KDE keeps track of? - be it by changing that limit of 10 RecentDocuments, forcing KDE to use recently-used.xbel, or any other method you can think of.


Some options I have tried so far:

  • installing Zeitgeist under KDE and linking it up to a Zeitgeist-enabled quick-launcher like Synapse – does not seem to work with KDE apps
  • using Baloo as a replacement for activity-based file tracking – while you can use Baloo to index most of your file system, it's not the same as having the most relevant results drawn from your recently used files. Baloo also seems to have trouble indexing some files, e.g. hidden config files (even with the respective option to track hidden files enabled)
2

enter image description here

KDE Forums - Feature Request: More Recent Documents : https://forum.kde.org/viewtopic.php?f=251&t=131544#p353228

by "google01103":

try editing the kdeglobals file (in ~/.kde[4]/share/config or in ~/.config depending on what you're running) the following section

   [RecentDocuments] 
    MaxEntries=20
  • KDE4: ~/.kde/share/config/kdeglobals
  • KF5: ~/.config/kdeglobals

Editing the kdeglobals with the kwriteconfig / kwriteconfig5: KDE Forums - Howto: Recently used: https://forum.kde.org/viewtopic.php?f=67&t=119324#p301110

Note ! Use the right tool:

  • kwriteconfig is the KDE4 tool.
  • kwriteconfig5 is the KDE Frameworks5 (KF5) tool.
  • Thanks, this worked perfectly! To be specific: I used kwriteconfig5 --group RecentDocuments --key MaxEntries 100 and then restarted my session. The recent documents entries were no longer limited to 10 after that. – Glutanimate Sep 20 '17 at 21:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.