nurali Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/1768416315647a085243060.png)
Joined: 17 Nov 2022 Posts: 179 Location: Somewhere,Earth
|
Posted: Fri Jul 26, 2024 1:40 pm Post subject: [SOLVED]Need help on xss-lock+slock |
|
|
Hello all:
I am using DWM and recently replaced i3lock-color with slock
I used xset to set some parameters,and put in autostart script.
Screen get locked as I expected (I set 120s by using xset)
But every time the slock is trigged by xss-lock, the screen will go black immediately (switched to suspend mode?)
I am expacting this:
Left PC unlocked -> 2 minutes -> xss-lock lock screen by using slock, and show the lock screen as screen saver -> 2 minutes -> screen go black (enteres suspend or whatever it is)
This is the xset q ouputs:
Code: |
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 660 repeat rate: 25
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: no allow exposures: yes
timeout: 120 cycle: 600
Colors:
default colormap: 0x20 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
built-ins
DPMS (Display Power Management Signaling):
Standby: 360 Suspend: 480 Off: 480
DPMS is Enabled
Monitor is On
|
What did I do wrong? Or am I misunderstanding xss-lock and screen saver and slock and all these stuff?
Plz somebody take a look and teach me some lessons, thank you very much
Another thing is: after acreen locked and went black, I move mouse or hit keys to light the screen up to enter the password, it goes black again just after ywo or three seconds
It is because the slock which I cloned from github patched with SPMS_PATCH.....There was an config item in config.def.h |
|