google / xsecurelock

X11 screen lock utility with security in mind
Apache License 2.0
876 stars 65 forks source link

Enabling on only one monitor #160

Open NathanC opened 1 year ago

NathanC commented 1 year ago

How can I enable this on only one monitor in a multi monitor setup?

I tried XSECURELOCK_SINGLE_AUTH_WINDOW=1, but if I mouse over the other monitor it still displays the login prompt. I would like to choose one of my monitors and have that be the only one the prompt displays on.

Please let me know if this is possible with existing configuration!

ghost commented 1 year ago

I have same thing, if I move the mouse to 2nd or 3rd screen it will show login prompt. Maybe we should have an option to disable mouse? Something like XSECURELOCK_DISABLE_MOUSE=1 Thanks.

NathanC commented 1 year ago

fwiw now that I'm using this in practice, it's a very minor inconvenience. It would be nice, but it's not a huge deal. Disabling the mouse would probably not be a good option, as jiggling the mouse is a common way to wake the screen.