xfce4-session-4.12.1-light-locker_support_to_xflock4.patch 570 B

123456789101112131415161718
  1. --- scripts/xflock4.orig 2016-02-02 10:40:15.726495183 -0700
  2. +++ scripts/xflock4 2016-02-02 10:43:17.548061336 -0700
  3. @@ -24,10 +24,12 @@
  4. PATH=/bin:/usr/bin
  5. export PATH
  6. -# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
  7. +# Lock by xscreensaver, gnome-screensaver or light-locker, if a respective
  8. +# daemon is running
  9. for lock_cmd in \
  10. "xscreensaver-command -lock" \
  11. - "gnome-screensaver-command --lock"
  12. + "gnome-screensaver-command --lock" \
  13. + "light-locker-command --lock"
  14. do
  15. $lock_cmd >/dev/null 2>&1 && exit
  16. done