From: Silvio Rhatto Date: Sun, 21 Sep 2014 13:53:51 +0000 (-0300) Subject: Comments on xhibernate and xsuspend X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=d751df69835f3b280c9e441c1e1897203453da0c;p=utils-x11.git Comments on xhibernate and xsuspend --- diff --git a/xhibernate b/xhibernate index 181a8d9..111c1fe 100755 --- a/xhibernate +++ b/xhibernate @@ -3,7 +3,14 @@ # Hibernate computer # +# Avoid sensitive stuff to remain on clipboard echo $RANDOM | xclip + +# Lock the screen xlock + +# Wait sleep 2 + +# Hibernate sudo s2disk diff --git a/xsuspend b/xsuspend index 0f8c1ed..fbc400c 100755 --- a/xsuspend +++ b/xsuspend @@ -3,7 +3,14 @@ # Activate software suspend # +# Avoid sensitive stuff to remain on clipboard echo $RANDOM | xclip + +# Lock the screen xlock + +# Wait sleep 2 + +# Suspend sudo pm-suspend