Skip to content

Instantly share code, notes, and snippets.

@AKuederle
Created February 22, 2015 18:45
Show Gist options
  • Save AKuederle/db6e66dbf01b07bcb981 to your computer and use it in GitHub Desktop.
Save AKuederle/db6e66dbf01b07bcb981 to your computer and use it in GitHub Desktop.
Lock the screen after 10 min of not using the PC when using xfce as a desktop enviroment. It has to be placed in .xinitrc.
xautolock -time 10 -notify 30 -notifier "notify-send 'Locking screen in 30 s' --icon=appointment" -locker xflock4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment