xfce4-session-4.10.1-alock_support_to_xflock4.patch 371 B

12345678910111213141516
  1. http://bugs.gentoo.org/501370
  2. http://bugzilla.xfce.org/show_bug.cgi?id=10679
  3. --- a/scripts/xflock4
  4. +++ b/scripts/xflock4
  5. @@ -35,7 +35,8 @@
  6. # else run another access locking utility, if installed
  7. for lock_cmd in \
  8. "xlock -mode blank" \
  9. - "slock"
  10. + "slock" \
  11. + "alock -bg blank -auth pam"
  12. do
  13. set -- $lock_cmd
  14. if command -v -- $1 >/dev/null 2>&1; then