From f3525d5882c9dded587925004ea8ec7e622e257f Mon Sep 17 00:00:00 2001 From: Christian Klinger Date: Fri, 26 Aug 2016 12:04:19 +0200 Subject: fix problem with ghost click. --- sample_configuration/lockDesktop.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sample_configuration') diff --git a/sample_configuration/lockDesktop.sh b/sample_configuration/lockDesktop.sh index 0e3c61a..8a8f133 100755 --- a/sample_configuration/lockDesktop.sh +++ b/sample_configuration/lockDesktop.sh @@ -1,4 +1,7 @@ #!/bin/bash +# move mouse pointer to the center of the screen to avoid some problems with ghost clicks +xdotool mousemove --polar 0 0 --sync + # activate a locking scrensaver, xscreensaver, kscreensaver, etc... xscreensaver-command --lock -- cgit v1.2.3-55-g7522