From 6dee0eeb4f1961f8ad52195badef2f765189fe3a Mon Sep 17 00:00:00 2001 From: Gardouille Date: Tue, 8 Jan 2019 14:15:46 +0100 Subject: [PATCH] Ensure to purge print settings in GIMP Independently of the Gimp's version. --- veille.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/veille.sh b/veille.sh index 19044a2..891f983 100755 --- a/veille.sh +++ b/veille.sh @@ -37,7 +37,11 @@ rm -f ~/.git-credential-cache/* ps ax | grep -v 'awk' | awk '/keepass2/,NF=1' | xargs kill # Delete sensitive files can contains unwanted clear passwords -rm -f ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini ~/.gimp-2.8/print-settings +rm -f ~/.config/evince/print-settings ~/.config/eog/eog-print-settings.ini + +# Delete GIMP's sensitives files +find ~/.config -ipath "*GIMP*" -and -iname "print-page-setup" -delete +find ~/.config -ipath "*GIMP*" -and -iname "print-settings" -delete # Turn off the screen sleep 3; xset dpms force off