Increase list under "Open Recent"

Phil V pv.bugzilla+okular at gmail.com
Wed Aug 19 04:56:09 BST 2020


Thank you David for your reply.

1. I tried the following and it also had no effect.
kwriteconfig5 --group "Recent Files" --key MaxEntries 100

2. I note that neither 'MaxEntries' nor 'max' appears in
https://github.com/KDE/okular/blob/master/shell/shell.cpp

3. I do not see any options for kreadconfig5 to dump existing groups
nor existing keys.
It seems to require that you know exactly what groups and keys exist in advance.
Am I missing something?

David Hurka wrote Wed Aug 12 15:11:39 BST 2020:
> Maybe RecentDocuments is not correct? In shell.cpp it says:
> m_recent->saveEntries(KSharedConfig::openConfig()->group("Recent Files"));
> (shell/shell.cpp:313)

On Tue, Aug 11, 2020 at 1:42 PM Phil V <pv.bugzilla+okular at gmail.com> wrote:
>
> I am using Okular Version 1.9.3
> How do I increase the list of Documents under "Open Recent"
> from the default ten (10) ?
>
> I tried
> kwriteconfig5 --group RecentDocuments --key MaxEntries 40
>
> and logged out of kde and back in again, but it did not seem to make a
> difference.
>
> Best regards!
> PV


More information about the Okular-devel mailing list