Ensure to purge print settings in GIMP

Independently of the Gimp's version.
This commit is contained in:
gardouille 2019-01-08 14:15:46 +01:00
parent d720d997d8
commit 6dee0eeb4f
Signed by: gardouille
GPG Key ID: E759BAA22501AF32
1 changed files with 5 additions and 1 deletions

View File

@ -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