As much as I love playing with bspwm, can’t get to find out why it isn’t unable to start normally.
Upon login the screen doesn’t run anything at all but the EOS wallpaper. Can see the mouse prompt and all commands are responsive too, except, when running a terminal and try to run bspwm from there to see what’s happening, i get greeted with this message:
Another window manager is already running.
Like, what other window manager? Have xfce, i3 and bspwm installed, but the window manager running is independent of each session, so it can be ran unless you login first. So, why does bspwm complaints there’s another manager running already?
Now, when I refresh the desktop a couple times, bspwm is able to start just fine, so whatever window manager was running before seems to be gone. Picom launches fine, terminals are transparent, polybar gets loaded, etc.
How can I diagnose what’s causing the problem here? Looked through the logs and didn’t see anything weird happening. Could optmus-manager be to blame here?
Anyway, if I can provide logs just tell me and I’ll see what I can dig.
How are you starting BSPWM? Selecting it on the login screen and typing user/pass or going to a tty session and typing startx ? I don’t think it should matter, but I’ll ask. Also, is there anything in your bspwmrc file that might be impacting this?
Nothing jumps out to me as looking like an issue. To eliminate this being an issue you could try the generic file from here. If that one works, then I would work through your file line by line commenting one out at a time until you find the one that is the issue. If that bspwmrc file still gives you the same issue, then we can move on to something else being the cause.
SOLVED: Turns out the reason why BSPWM wasn’t starting correctly was because the processes needed to be deamonized. Adding the “&” at the end of each process allowed BSPWM to run fine.