Okay I feel silly for asking this, but I just can't figure it out. I would like to get MUT to auto start at boot up. I have tried placing the start up script in /root/.xinitrc after the line:
I also tried putting the start up script in /root/.icewm/startup The funny thing is that clicking on /root/.icewm/startup will start MUT. IceWM is my default window manager by the way.
Placing the start up sript in /etc/rc.d/rc.local doesn't work either. Anyone have any ideas?
exec $CURRENTWM transfers out of .xinitrc (in your case to icewm) and never comes back, so any lines you put after the exec command will never be executed
what you would do is run mut before the exec command, as a background process (with an ampersand) ... something like:
path-to-mut &
exec $CURRENTWM
mut won't run from rc.local because mut is an X program, and X hasn't started yet
when .xinitrc is executing, X has started and is running ... in fact, you can start and run any X programs without starting a window manager lik fvwm95 or icewm (you just won't be able to move the windows around, there will be no title bars or task bars or menu)
the icewm-session binary automatically starts icewmbg, icewmtray, icewm, and also runs ~/.icewm/startup ... i didn't include icewm-session in my dotpup package, i wrote a script called icewm-session2 that does about the same thing, but doesn't stay in memory ... icewm-session2 does not run ~/.icewm/startup though
you can add a line to execute the startup script something like this:
. /root/.icewm/startup
exec icewm
or you could add a line to start mut, something like:
path-to-mut &
exec icewm
but if you put it in .xinitrc, it will run mut with fvwm95 and jwm too