PrawnOS-nonfree/resources/InstallResources/xfce-config/xflock-xsecurelock.patch
2019-10-07 19:00:56 -05:00

13 lines
459 B
Diff

diff --git a/usr/bin/xflock4 b/usr/bin/xflock4
index 32670f4..1e82a40
--- a/usr/bin/xflock4
+++ b/usr/bin/xflock4
@@ -26,6 +26,7 @@ LOCK_CMD=$(xfconf-query -c xfce4-session -p /general/LockCommand)
# Lock by xscreensaver or gnome-screensaver, if a respective daemon is running
for lock_cmd in \
+ "env XSECURELOCK_PASSWORD_PROMPT=asterisks xsecurelock" \
"$LOCK_CMD" \
"xfce4-screensaver-command --lock" \
"xscreensaver-command -lock" \