-
Notifications
You must be signed in to change notification settings - Fork 308
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
No protocol specified Failed to open display #36
Comments
The error you're getting suggests that dwmblocks can't talk to the X server. Most likely sometimes opening the X display failed for you but before this commit there wasn't proper error handling so it never crashed for you. I was already working on changing it so that it only opens the X display once rather than every time the root window name is changed. I just pushed this change so try it out and see if it helps. |
@torrinfail, thanks. I'll give it a go and will report back after running for a while. |
No crash so far. However, coming back after the screensaver had kicked in, the process is still running but nothing is showing from dwmblocks, instead I see the standard 'dwm-6.2' text. |
Interesting. What screensaver utility do you use?(or do you just mean when X automatically makes the screen go black after a little while?) I tried to reproduce with xscreensaver and it worked no problem. |
Sorry, I meant when X automatically makes the screen go black. |
@johanthoren how do you start dwmblocks exactly? |
@saper, I'm no longer using dwm or dwmblocks so I'm happy to close this issue if no one else is affected. |
After updating from 904e407 to b7d1970 dwmblocks intermittently crashes with the following messages:
The only patch applied is to blocks.def.h:
The text was updated successfully, but these errors were encountered: