Re: Script that when when you login
patrick@kirks.net wrote:
Hi all,
I have added a command to run a xterm to my .xsession just in case I
hose my settings to the point where that xterm will be all that stands
between me and disaster.
I have anumber of less urgent requirements that I would like to happen
in the background whenever I boot. For example, galeon -s creates a
galeon server enabling galeon to load faster. Having evolution running
in the background would be useful. I have Windows shares that I would
like to mount through this script.
If I create a little script that does all these things, where should I
put it? .bashrc? .xsession?
Thanks in advance.
Patrick
.xsession is the file where i start my window manager, and run any programs,
note the last line of ~/.xsession should be your window manager and should
use exec
exec wmaker
though, this may just be correct for me because i use xdm - man X - will
provide
this information
i cant confirm anything right now because i am stranded on a public computer
btw, i dont think you have to worry about this impending disaster, if
you are
having troubles with X i suggest not using a desktop manager or a window
manager so that you can bring everything up one step at a time, this way
you can see where the problem is
ie/
alt+ctrl+f1
killall gdm
killall xdm
X &
alt+ctrl+f1
xterm -display :0 &
wmaker --display :0 &
i give this tip all the time because i find xdm and gdm annoying when
trying to configure X
darrell
Reply to: