Power manager unable to lock screen while xflock4 can
I am using Arch Linux with Xfce and the cinnamon-screensaver
. Before i have been using light-locker
and everything worked fine. However, since i switched to cinnamon-screensaver
the xfce4-power-manager
fails to lock the screen. Whenever it should lock the screen, for example when i press the keyboard shortcut for suspend on my keyboard or when i close the laptop lid, i only get the error message that "None of the screen lock tools ran successfully".
This happens even though xflock4
& xfce4-session-logout --suspend
can lock the screen perfectly well when run from a terminal or via the whiskermenu.
I have set cinnamon-screensaver-command --lock
as the preferred screensaver as described in the arch wiki like so:
xfconf-query -c xfce4-session -p /general/LockCommand -s "cinnamon-screensaver-command --lock" --create -t string
xfce4-power-manager -V
reports as version 4.16.0