How can I stop Kate from storing the last used files?

For data protection/security, I want to keep Kate from storing the last used files (a list of the last used files).
I know how to delete that list, but I want to keep Kate from creating it in the first place.

Kate only reads a history list, it doesn’t store the files - they still exist in your filesystem


You can disable Kate’s ‘Welcome Screen’ if you don’t want recent files displayed - then you have to access them through the menu.

To disable ‘recent files’ you look for ‘Privacy’ in Settings - mine’s set to ‘Keep history for 6 months’ - but you can set that for all applications, do not remember, or ‘only for specific applications’.

So yes, first stop is your settings.

1 Like

they still exist in your filesystem


That’s fine, no problem.

only reads a history list

Yes, that’s what I don’t want.

To disable ‘recent files’ you look for ‘Privacy’ in Settings - mine’s set to ‘Keep history for 6 months’

So yes, first stop is your settings.

Thanks, it was somewhat hard to find because in the Germany version I have to open “Einstellungen” (Settings) –> “Kate Einrichten” (Configure Kate) –> “Sitzung” (Session) and there, under “Sitzungselemente” (Session Elements) I have to set I have to set “Maximale Anzahl der EintrĂ€ge in der Liste zuletzt geöffneten Dateien” (Maximum number of entries in session file list) to “0” and remove the check mark at “Meta-Informationen ĂŒber Sitzungen hinaus speichern” (Keep meta-information past sessions).