Page 1 of 1

IceWM does not obey startup script

Posted: 19 Jul 2013, 23:38
by dedanna1029
Hello again,

I've written up a startup script in ~/.icewm, and it wasn't being obeyed. The script:

Code: Select all

#!/bin/bash
# IceWM startup
#desc Startup programs for IceWM

sleep 1; qasmixer &
sleep 1; qlipper
sleep 1; xscreensaver -no-splash &
sleep 25; /usr/bin/startguake.sh


When I found it not obeying that, I did some reading up, and found that if it doesn't obey the startup script, then one should add some things to ~/.xinitrc. Well, I didn't have an ~/.xinitrc, so wrote one up. The problem I was thinking on that is that it seems most WMs don't obey ~/.xinitrc any more, and it seems I was right. It goes like this though:

Code: Select all

. #!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
#

# exec wmaker
# exec startkde
# numlockx on &
/home/dedanna/.icewm/startup &
icewm
# exec blackbox
# exec fluxbox
# exec gnome


I was right, it's not obeying that, either...

So, any clue what else there is to try? Mageia 3, IceWM.

Thanks.

Re: IceWM does not obey startup script

Posted: 27 Sep 2013, 09:46
by viking60
Edit ~/.bash_profile. (if it does not exist copy a skeleton from /etc/skel/.bash_profile.
And add this line:

Code: Select all

[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && exec startx


That should start X at login.

Re: IceWM does not obey startup script  Topic is solved

Posted: 27 Sep 2013, 23:21
by dedanna1029
Don't think I'll have to worry about it when I can get computers going again. Found out this was an old bug that Mageia had carried over (like so many others they did). It was fixed, once again they didn't implement the fix. Just couldn't get here at the time to close the thread. I'm ditching Mageia and rpm distros altogether when my computers are fixed and set up. Was much happier without them, and had a lot less hassle.