summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xsample_configuration/lockDesktop.sh3
1 files changed, 3 insertions, 0 deletions
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