Re: Executing script on X login

2004-09-09 Thread Erik Steffl
Stefan O'Rear wrote: On Thu, Sep 09, 2004 at 04:47:38PM -0700, Matt Perry wrote: On Thu, 9 Sep 2004, Erik Steffl wrote: problem 1 (that's just something to be careful about): if you just have the default x-window-manager it can be replaced during update and when you restart WM the X session wi

Re: Executing script on X login

2004-09-09 Thread Stefan O'Rear
On Thu, Sep 09, 2004 at 04:47:38PM -0700, Matt Perry wrote: > On Thu, 9 Sep 2004, Erik Steffl wrote: > > >problem 1 (that's just something to be careful about): if you just > > have the default x-window-manager it can be replaced during update and > > when you restart WM the X session will c

Re: Executing script on X login

2004-09-09 Thread Matt Perry
On Thu, 9 Sep 2004, Erik Steffl wrote: >problem 1 (that's just something to be careful about): if you just > have the default x-window-manager it can be replaced during update and > when you restart WM the X session will crash/end. > >problem 2 (IMO serious alternative issue): even if y

Re: Executing script on X login

2004-09-09 Thread Matt Perry
On Fri, 10 Sep 2004, Wim De Smet wrote: > I think you can use the generic 'x-window-manager' which will point to > the selected default. So you could end your .xsession with either > 'exec x-window-manager' (though the exec is probably not necessary). That solves the problem the way I wanted to.

Re: Executing script on X login

2004-09-09 Thread Erik Steffl
Wim De Smet wrote: On Thu, 9 Sep 2004 15:18:46 -0700 (PDT), Matt Perry <[EMAIL PROTECTED]> wrote: Is there a file where I can put programs to be run when I log into X via XDM? I tried .Xsession but that just dumps me back out to XDM. That's logical. The .xsession is run as a script. So it starts a

Re: Executing script on X login

2004-09-09 Thread Wim De Smet
On Thu, 9 Sep 2004 15:18:46 -0700 (PDT), Matt Perry <[EMAIL PROTECTED]> wrote: > Is there a file where I can put programs to be run when I log into X via > XDM? I tried .Xsession but that just dumps me back out to XDM. That's logical. The .xsession is run as a script. So it starts all programs and

Executing script on X login

2004-09-09 Thread Matt Perry
Is there a file where I can put programs to be run when I log into X via XDM? I tried .Xsession but that just dumps me back out to XDM. What I want is for several programs to be run when I log in such as xterm and xmodmap. I *don't* want to start a window manager from this. I want to use the w