The usual convention is
1) if you start your X session with startX, put programs to execute in .xinitrc
2) if you start your X session logging in with the graphical display manager,
put programs in .xsession
To see what happens once control is passed over the the user after logging in at the graphical display manager, look at the file /etc/X11/xsession.
Depending on the graphical display manager and your distribution, your mileage may vary.
Void where prohibited by law.
|