[kubuntu] Close KDEWallet automatically when laptop is locked

view full story

http://ubuntuforums.org – Is there a way to have KDEWallet close when I lock my laptop? Usually I have the wallet set to close when the last program using it exits, but I tend to leave Chromium open so it holds the wallet open as well. I'd like to be able to force the wallet closed when I lock my laptop (or maybe even close the lid). Is there a way to do this? (Hardware)