19ce2331b5
- Removed add-light-locker-support.patch. Replaced by additional-lockers-support.patch which supports both xfce4-screensaver and lightlocker OBS-URL: https://build.opensuse.org/request/show/707949 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-session?expand=0&rev=138
14 lines
470 B
Diff
14 lines
470 B
Diff
diff -ru a/scripts/xflock4 b/scripts/xflock4
|
|
--- a/scripts/xflock4 2014-08-31 02:24:02.000000000 +0800
|
|
+++ b/scripts/xflock4 2019-06-06 07:52:48.399462547 +0800
|
|
@@ -26,7 +26,9 @@
|
|
|
|
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
|
|
for lock_cmd in \
|
|
+ "xfce4-screensaver-command -l" \
|
|
"xscreensaver-command -lock" \
|
|
+ "light-locker-command -l" \
|
|
"gnome-screensaver-command --lock"
|
|
do
|
|
$lock_cmd >/dev/null 2>&1 && exit
|