You are not logged in.

#1 2020-09-24 02:42:57

tossenxD
Member
Registered: 2020-09-24
Posts: 1

bspwmrc does not run when using xinitrc with startx command

I am trying to get bspwm to work on a newly installed Arch. I have followed the wiki, using Xorg, bspwm and sxhkd.
In my xinitrc I have "sxhkd &" and "exec bspwm".
sxhkd works and I am able to configure using .config/sxhkd/sxhkdrc.
bspwm on the other hand, starts (and works) but does not get configured by .config/bspwm/bspwmrc.
Right now I only get my polybar and other configurations if I manually run .config/bspwm/bspwmrc after startx.
I cannot figure out what "exec bspwm" is running and am not able to narrow the problem further down.

Offline

#2 2020-09-24 06:16:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,710

Re: bspwmrc does not run when using xinitrc with startx command

If that's your complete xinitrc, see the link in my signature…

I'd debug this by having startx run a terminal (eg. xterm) and start bspwm from there to see error messages etc.
You could also "strace bspwm 2>&1 | grep bspwmrc" to see whether it tries to open the file.

If running bspwm from an interactive shell works, there's likely some environment issue which you could debug with printenv.

Offline

Board footer

Powered by FluxBB