IceWM does not obey startup script Topic is solved

Need help with your Linux distro? All questions are good - not all answers are -but we try

Moderator: jkerr82508

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

IceWM does not obey startup script

Postby dedanna1029 » 19 Jul 2013, 23:38

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.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html

User avatar
viking60
Über-Berserk
Posts: 9351
Joined: 14 Mar 2010, 16:34

Re: IceWM does not obey startup script

Postby viking60 » 27 Sep 2013, 09:46

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.
Manjaro 64bit on the main box -Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz and nVidia Corporation GT200b [GeForce GTX 275] (rev a1. + Centos on the server - Arch on the laptop.
"There are no stupid questions - Only stupid answers!"

User avatar
dedanna1029
Sound-Berserk
Posts: 8784
Joined: 14 Mar 2010, 20:29
Contact:

Re: IceWM does not obey startup script  Topic is solved

Postby dedanna1029 » 27 Sep 2013, 23:21

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.
I'd rather be a free person who fears terrorists, than be a "safe" person who fears the government.
No gods, no masters.
"A druid is by nature anarchistic, that is, submits to no one."
http://uk.druidcollege.org/faqs.html


Return to “Help”