summaryrefslogblamecommitdiffstats
path: root/sample_configuration/lockDesktop.sh
blob: 8a8f133025ab0a76aa1384a4b64945927fba7ae8 (plain) (tree)
1
2
3
4
5
6
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