Closed TheCatster closed 3 years ago
Could you please try running the following command just to test if the IPC socket was created and is working properly:
dwm-msg get_monitors
I have the similar problem.
I've patched DWM with anybar
& ipc
patches, made required configs (re script running polybar, using altbar, etc), then installed polybar-dwm-module
. When enter into DWM (with startx and .xinitrc) status bar is not showing, and while trying to run terminal X server crashes and exits DWM.
Here is my build of DWM with the above patches.
Configs of polybar.
And some logs:
This command dwm-msg get_monitors
works properly and returns info.
Mine also returned fine. However, I removed the anybar build and the polybar module due to wanting something lighter and more stable.
@TheCatster Are you still interested in helping troubleshoot to fix this issue? If not, I'll close this issue.
@vk0xOrg Please create another issue following the template. I don't want to draw any conclusions about your issue being related to this one unless I see similar symptoms/logs. It would also help make sure I have all the information regarding your issue, so I can help you better.
I can close this issue, and just make a new VM with the same params (hopefully). I'll help along with vk0xOrg's issue as I can. I no longer personally need this.
Sorry for the late response, I've just returned to this. would try to pass through all the process/patching one more time and report any issues. don't have any questions as regard to this issue
Describe the issue
When trying to run the bar, an error occurs that
reason: Failed to connect to dwm ipc socket.
Expected behavior: The tags show up in Polybar and function.
Actual behavior: Nothing. The tags do not show up, and the bar that only has the tags does not appear.
Was it working before? Yes, but I made no modifications to my system recently. Only change was downloading a new VM in VirtualBox (which seems completely unrelated).
To Reproduce
config.ini
And nothing much else, I run the bar automatically in my dwm config.h. I have the anybar and IPC patches.
Polybar Log
Environment:
polybar -vvv
:Features: +alsa +curl +dwm +i3 +mpd +network(libnl) +pulseaudio +xkeyboard
X extensions: +randr (+monitors) +composite +xkb +xrm +xcursor
Build type: Release Compiler: /usr/bin/c++ Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wall -Wextra -Wpedantic -O3 -DNDEBUG Linker flags: -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now