Closed hossamdash closed 3 years ago
Sorry I've taken some time to come back to you, I had some trouble pinpointing the exact issue here.
Apparently, reading from stdin
is not a good neighbor to Tokio's async. The "delay" was actually the input process still waiting forever for another keypress. greetd
finally killed tuigreet
after 5 seconds (to prevent exactly this), which allowed your command to be run.
This is not a trivial change, I have to change the terminal backend I use, but I'm close to a fix (I think).
@hossamdash Are you able to give one of these artifacts a try? The issue seems to be fixed on my side, but I'd like to give it some testing before merging it into master.
Yeah, from my tests, the leftover delay might actually come from greetd
and the initialization time of whatever you run.
I'll do more testing tomorrow and keep using this version for a while before I can be confident merging it into master.
I'll close this when it is merged.
This was merged into master and will be part of 0.8.0
.
my screen shows a blinking "-" symbol on a black screen for about 10 seconds after entering password and pressing enter. downgrading to 0.6.1 solves the problem. here's my /etc/greetd/config.toml for reference. I'm using the package from AUR