Closed p-himik closed 6 years ago
Physlock switches to another console so that none of your X keybinding do apply. The ctrl+win+s
got interpreted as ctrl+s
which suspends the terminal until you hit ctrl+q
. I've disabled the flow control mechanism. Please note, that all uninterpreted control sequenses like ctrl+s
are read from the console like ordinary characters and cause an authentication failure.
Great, thank you!
I use Awesome WM with keys set up as:
ctrl+win+l
- runphyslock -dms
ctrl+win+s
- rundbus-send --system --print-reply --dest="org.freedesktop.login1" /org/freedesktop/login1 org.freedesktop.login1.Manager.Suspend boolean:true
I also have
/etc/systemd/system/physlock.service
withNow, if I press
ctrl+win+l
, the screen is locked. If I then decide that I wanted to suspend instead and pressctrl+win+s
without actually unlocking, nothing happens - just as it should be becausephyslock
is still active and prevents (or at least, appears to prevent) the keypress from being handled. But I also lose the ability to unlock. The prompt with a text cursor is there, the cursor blinks on each key press, but there's no any other reaction when I hit Enter. The only remedy at this point isalt+sysrq+b
.