xfce4-session-4.13.2-add-more-screen-lockers-to-xflock4.patch 746 B

1234567891011121314151617181920
  1. diff -up ./scripts/xflock4.orig ./scripts/xflock4
  2. --- ./scripts/xflock4.orig 2015-09-27 13:19:24.784098605 +0300
  3. +++ ./scripts/xflock4 2015-09-27 13:21:49.630546600 +0300
  4. @@ -30,9 +30,11 @@ LOCK_CMD=$(xfconf-query -c xfce4-session
  5. # Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
  6. for lock_cmd in \
  7. "$LOCK_CMD" \
  8. - "xfce4-screensaver-command --lock" \
  9. - "xscreensaver-command -lock" \
  10. - "gnome-screensaver-command --lock"
  11. + "xfce4-screensaver-command --lock" \
  12. + "light-locker-command --lock" \
  13. + "mate-screensaver-command --lock" \
  14. + "gnome-screensaver-command --lock" \
  15. + "xscreensaver-command -lock"
  16. do
  17. if [ ! -z "$lock_cmd" ]; then
  18. $lock_cmd >/dev/null 2>&1 && exit