Click to See Complete Forum and Search --> : How do I get IceWM to start up programs on login?


Plextor
05-25-2003, 09:25 PM
I have MDK 9.1 and IceWM latest, and I want it to automatically start rox-filer (rox -pinboard=mypinboard) on startup, but how do I go about doing this?

leon_2000
05-26-2003, 03:09 AM
I love icewm too.
Add an entry like 'exec emacs' to your ~/.xinitrc or ~/.xsession file.

Do you know how to make one window always stays on top, I need this funtion bady!

GaryJones32
05-26-2003, 03:13 AM
I dont know anything about Mandrake
but there should be some hidden file in your home directory
that starts ice
.xsession
(sometimes used to be .Xclients)

or something to that effect
.xinitrc possibly

if no file in your home dir starting icewm then it's a global file
(mine are /etx/X11/Xsession and /etc/X11/xinit/xinitrc)
if yours is like mine the xinitrc calls the global Xsession
that then reads ~/.xsession or ~/.Xsession
just read them to figure out what they do
if you can't find them read startx (which startx to find it)
to track down how it works for your system

anyway at the bottom after icewm is started write

exec rox -pinboard=mypinboard &

& is to put it in the background since wm is just starting up

let us know if that works or not

Plextor
05-26-2003, 05:17 PM
No working yet. :(

leon_2000
05-30-2003, 04:47 AM
The following is a (reasonable) ".xinitrc" file used as an example by
Marko:


#-----------------------------------------------------------
# .xinitrc
#-----------------------------------------------------------

# run profile to set $PATH and other env vars correctly
. $HOME/.bash_profile

# setup background
xsetroot -solid '#056'

# setup mouse acceleration
xset m 7 2

# run initial programs
xterm &

# start icewm, and run xterm if it crashes (just to be safe)
exec icewm || exec xterm -fg red

#-----------------------------------------------------------

The Mas
06-01-2003, 06:52 PM
Originally posted by Plextor
I have MDK 9.1 and IceWM latest, and I want it to automatically start rox-filer (rox -pinboard=mypinboard) on startup, but how do I go about doing this?

A few people have mentioned using .xinitrc as a means to start applications. While that is true in general for X applications, the way to add either menus or task bars with IceWM is to add entries to a file called menu or toolbar beneath the hidden .icewm directory.

Starting applications is the domain of either .xinitrc or .xsession, depending on how your system is set up.