You are not logged in.
Pages: 1
I used to have my autostart programs in .xinitrc, however ive wanted to experiment with different WMs, so i installed ly that lets me choose a WM while logging in. Problem is, that now, .xinitrc doesnt get run when I log in.
I thought of just executing it from my bspwmrc (which does get run when using the ), but then that could create an inifinite loop if i choose to start it with startx. Is there something im missing?
Offline
From the ly github page:
If your .xinitrc doesn't work make sure it is executable and includes a shebang.
Offline
I have put just
#!/bin/sh
echo test >> /home/me/test.txt
however nothing shows up. Ly gives me three options: shell, xinitrc, bspwm. I'm using the bspwm option. I have found however that .xsession and .xprofile does get run
Offline
Is .xinitrc set as executable?
Offline
Ly gives me three options: shell, xinitrc, bspwm. I'm using the bspwm option.
.xinitrc doesnt get run when I log in.
Ponder for about 5 minutes over that.
I have found however that .xsession and .xprofile does get run
They're typically sourced by DMs and the way to go about your situation is to source them in your xinitrc and move the shared stuff (what you want to be executed by some DM as well as by xinit) there (eg. notably NOT the final "exec somewm" line)
Offline
Pages: 1