Setup:
I lock the screen manually with a hotkey (which executes DISPLAY=:0 /usr/local/bin/physlock -ds && sleep 1) AND close my laptops lid.
Lid closing tries to activate physlock.service
...but fails because physlock(manual) basically froze the whole computer (as i understand it). Laptop also doesn't go to sleep this way, which is annoying.
This wouldn't be a very big problem if, after reopening and entering the password for physlock(manual) and resuming to work, it wouldn't lock the session AGAIN as root because the physlock(systemd) caught up with everything.
Then I can't unlock the session, because the root password is not set and have to reboot the computer.
This is a big problem for me right now, because i have some muscle memory for locking the laptop before closing it going on and I only really want the service active to ensure that physlock is executed even if I forget it.
I hope I made the problem clear.
I'm looking forward to a solution, please help me!
Setup: I lock the screen manually with a hotkey (which executes
DISPLAY=:0 /usr/local/bin/physlock -ds && sleep 1
) AND close my laptops lid. Lid closing tries to activate physlock.service...but fails because physlock(manual) basically froze the whole computer (as i understand it). Laptop also doesn't go to sleep this way, which is annoying.
This wouldn't be a very big problem if, after reopening and entering the password for physlock(manual) and resuming to work, it wouldn't lock the session AGAIN as root because the physlock(systemd) caught up with everything. Then I can't unlock the session, because the root password is not set and have to reboot the computer.
This is a big problem for me right now, because i have some muscle memory for locking the laptop before closing it going on and I only really want the service active to ensure that physlock is executed even if I forget it. I hope I made the problem clear.
I'm looking forward to a solution, please help me!