-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slock not showing colors when enter wrong password or caps lock is on. #2
Comments
Perhaps worth managing one's expectations when it comes to slock patches, they are not as polished as one might expect and compatibility is so and so.
Yes that is the behaviour of the
This will typically be if you are using an invalid font. The default "6x10" font does not exist for me for example. You can run Try running slock from the command line, it should show you a warning if the font is bad (after you have unlocked your screen), e.g. $ slock
slock: Unable to load font "6x10"
slock: Try listing fonts with 'slock -f' I haven't found a way to change the font size - it seems the patch derives it from the size of the monitor / screen area. The message patch is also not designed with multi-monitor in mind (unless you have evenly sized and positioned monitors), so the text may not be properly centered if you have monitors of different sizes.
That is, believe it or not, to be expected. All the color changes you refer to is related to the background changing color, but the
It doesn't make much sense combining these, either you want transparency or you want a blurred pixelated image shown. I would highly recommend letting a compositor such as On top of that you get all of the color changes when typing, enabling caps lock or entering the wrong password. |
I tried as you suggested, the font issue was as you described. I ran |
slock doesn't use libxft freetype2 fonts thats why the fonts look like crap, there is a patch that adds xft support and also draws a dwm logo over the blured background. |
I enabled the
ALPHA_PATCH
,BLUR_PIXELATED_SCREEN_PATCH
,CAPSCOLOR_PATCH
,KEYPRESS_FEEDBACK_PATCH
,MEDIAKEYS_PATCH
andMESSAGE_PATCH
, but I don't see any change in color when I type wrong password and press enter, or if I turn on caps lock. Also there is no message shown either. The display just blurs with whatever was on the screen the time of locking, and I can type my password to unlock it and a random white colored bars appears on top as I type.The text was updated successfully, but these errors were encountered: