Web lists-archives.com

Re: [kde-linux] Clear Recent Documents on logout?

On Sunday, 2013-09-15, Mark Knecht wrote:
> Hi,
>    I was looking through the System Settings handbook but I didn't
> find anything. Is there a way to have KDE clear the Recent Documents
> list on logout?

On logout, or more precisely at the end of the startkde script, all scripts 
found in $KDEDIRS/shutdown[1] are run.

You could add such a script that cleans out the RecentDocuments directory 


[1] actually paths are taken from the output of kde4-config --path lib, with 
"lib" replaced with "shutdown"
[2] if $KDEHOME is not set (usually it is not), see kde4-config --localprefix
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring

Attachment: signature.asc
Description: This is a digitally signed message part.

This message is from the kde-linux mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde-linux.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.