Skip to content

Fails to lock with xflock4

Related to this bug report. When xflock4 is called, be it via the terminal or panel button or elsewhere, the session fails to lock:

/usr/bin/xflock4: 52: arithmetic expression: expecting primary: "2**31 - 1"

Issuing xfce4-screensaver-command --lock works, however.

System info:

`Linux voidlinux 6.12.28_1 #1 SMP PREEMPT_DYNAMIC Sun May 11 04:22:51 UTC 2025 x86_64 GNU/Linux`

Installed versions of present components:

exo-4.20.0_1 libxfce4panel-4.20.4_1 libxfce4ui-4.20.1_1 libxfce4util-4.20.1_1 libxfce4windowing-4.20.2_3 mousepad-0.6.5_1 ristretto-0.13.4_1 xfce-polkit-0.3_2 xfce4-4.20_1 xfce4-appfinder-4.20.0_1 xfce4-clipman-plugin-1.7.0_1 xfce4-cpugraph-plugin-1.3.0_1 xfce4-fsguard-plugin-1.2.0_1 xfce4-notifyd-0.9.7_1 xfce4-panel-4.20.4_1 xfce4-power-manager-4.20.0_1 xfce4-pulseaudio-plugin-0.5.1_1 xfce4-screensaver-4.18.4_1 xfce4-screenshooter-1.11.1_1 xfce4-sensors-plugin-1.4.5_1 xfce4-session-4.20.2_1 xfce4-settings-4.20.1_1 xfce4-systemload-plugin-1.3.3_1 xfce4-taskmanager-1.5.8_1 xfce4-weather-plugin-0.11.3_1 xfce4-whiskermenu-plugin-2.9.2_1 xfconf-4.20.0_1 xfdesktop-4.20.1_1 xfwm4-4.20.0_1 xfwm4-themes-4.10.0_4