xflock4 screensaver support
Martin Sourada
martin.sourada at gmail.com
Fri Mar 13 20:11:37 UTC 2015
V Sun, 8 Mar 2015 15:20:15 -0600
Kevin Fenzi <kevin at scrye.com> napsáno:
> I have been trying to wait for upstream to pick some route forward
> here before we commit to having to carry a patch for a long time. ;(
>
> All the patches I have seen have been broken for various cases...
> :(
>
> kevin
Well, xflock4 is broken by design, so I think the following patch (from
upstream bz) is still better than the current state... The only
brokenness I noticed is that switch user (from the panel plugin for
actions like lock, switch, sleep, logout, etc.) does not enable
screensaver when I'm using mate-screensaver (maybe I forgot to set
something), so I'm switching by locking first and switching from
screensaver. No other problems noticed after a couple of months of
usage.
--- old/xflock4 2013-07-05 17:30:55.123541658 +0400
+++ new/xflock4 2013-07-05 17:30:55.123541658 +0400
@@ -24,16 +24,18 @@
PATH=/bin:/usr/bin
export PATH
-# Lock by xscreensaver or gnome-screensaver, if a respective daemon is
running +# Lock by xscreensaver or mate-screensaver, if a respective
daemon is running for lock_cmd in \
"xscreensaver-command -lock" \
- "gnome-screensaver-command --lock"
+ "mate-screensaver-command --lock" \
+ "cinnamon-screensaver-command --lock"
do
$lock_cmd >/dev/null 2>&1 && exit
done
# else run another access locking utility, if installed
for lock_cmd in \
+ "i3lock" \
"xlock -mode blank" \
"slock"
do
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://lists.fedoraproject.org/pipermail/xfce/attachments/20150313/73979c1b/attachment.sig>
More information about the xfce
mailing list