archcraft-os / archcraft-newm

// Configuration : NEWM
71 stars 4 forks source link

Lockscreen Not Working #2

Closed joselevelsup closed 1 year ago

joselevelsup commented 2 years ago

Hey @adi1090x ,

First off I am a big fan of your rices. I could never do it myself cause it's just to tedious. So I kind of rely on other's rices and just tweak it.

So I installed your rice for this WM. The lockscreen just locks after a certain amount of time (which I don't care) but there is no way for me to unlock it. I would have to open another TTY and run newm-cmd unlock. In your videos and screenshots, I notice there should be a pop up. Any possible reason why this wouldn't work?

adi1090x commented 2 years ago

@joselevelsup

make sure you have alacritty terminal and thefuzz python module installed.

to install the module, run : pip3 install thefuzz

you can adjust the power settings in this section of config.py file

## Power Saving ────────────────────────────────────────────────────────────
energy = {
    'idle_callback': lambda event: "idle",
    'idle_times': [120, 300, 600],
    'suspend_command': "systemctl suspend",
}

120 is the time to dim the screen, 300 is the time to lock and 600 is the time to suspend/sleep.

joselevelsup commented 2 years ago

I installed the thefuzz and I already had alacritty installed. Still nothing to prompt me to unlock.

adi1090x commented 2 years ago

@joselevelsup So, You're still not getting this?

newm_4

Which distro are you using?

Login to NEWM and manually lock the screen. then unlock it the way you're unlocking it. then paste the content of ~/.cache/newm_log file here.

joselevelsup commented 2 years ago

@adi1090x sorry for the late response.

Yeah, I'm not getting that at all. I lock my screen and just type my password but nothing (I thought it might be hidden or something).

Here is my newm_log

Let me know if you need anything else.

EDIT: Forgot to mention my distro is Manjaro

hekatonkheirex commented 2 years ago

It looks like it's the wm issue, as reported here

I have installed this dotfiles too. System is 5.18.14-arch1-1. Sway and River runs fine.

adi1090x commented 1 year ago

So, Not resolved? With alacritty and thefuzz module, it works.

hekatonkheirex commented 1 year ago

I'm sorry for late reply, but this is the message I got when I try to type the password https://imgur.com/jvbCZN3 I have foot, alacritty and thefuzz installed

joselevelsup commented 1 year ago

Yeah still nothing on my end. I have all the modules installed and I still can't figure it out. Then again, python is not my strong suit lol.

adi1090x commented 1 year ago

Fixed by adding python-thefuzz pkg in Repo. Update!