--- scripts/xflock4.orig 2025-03-21 09:25:42 UTC +++ scripts/xflock4 @@ -47,12 +47,12 @@ esac [ -t 0 ] && sleep 1 # echo is used to strip blanks -# $((2**31 - 1)) is MAXINT, which disables timeout: see +# $(((1<<31)-1)) is MAXINT, which disables timeout: see # https://dbus.freedesktop.org/doc/api/html/group__DBusPendingCall.html ret=$(echo $(dbus-send --session \ --dest=org.xfce.SessionManager \ --print-reply=literal \ - --reply-timeout=$((2**31 - 1)) \ + --reply-timeout=$(((1<<31)-1)) \ --type=method_call \ /org/xfce/SessionManager \ org.xfce.Session.Manager.Lock))