dwm autostart
I've been trying out dwm, and it looks very promising. Is there a way to run certain things on startup (like xsetroot, kupfer, etc.)?
About this post
- Posted
- Archived
- Score
- 3 · 100% up
- Kind
- Text
- ID
- 2p033v
I've been trying out dwm, and it looks very promising. Is there a way to run certain things on startup (like xsetroot, kupfer, etc.)?
13 comments
Put them in your
~/.xinitrc.I'm starting it from lightdm, though.
It seems you'll need to put them in
/etc/lightdm/Xsession, then.OK, I did it. I just copied .xinitrc to /usr/local/dwm-session, and make an XSession .desktop file for that.
That was a lot more than you had to do, and will be run when any user logs in. As it says on LightDM's wiki page, just move everything from your
~/.xinitrcto~/.xprofile, but remove the line that starts dwm.Won't that run for all DEs then?