Re: Clear Recent Documents on logout?

Kevin Krammer <[email protected]>
Newsgroups gmane.comp.kde.linux
Organization KDE
Message-ID <[email protected]>
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 
$KDEHOME/apps/RecentDocuments[2]

Cheers,
Kevin

[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

___________________________________________________
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.
signature.asc (application/pgp-signature, 190 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iD8DBQBSNeBpnKMhG6pzZJIRArAWAJ4igezrpmj3l/9Tr7ok19sjESXznwCeK7tL
/BQWFY2Tpg6C6UGuppS9nUg=
=MILo
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.