[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] How do I automatically run an app at login???????



On Tue, 12 Mar 2002, Bert Rolston wrote:

> The Atari STe had and auto folder, DOS used a batch file, MS Windoze used a startup folder (or registry hack).
> 
> How do I go about getting an application to run automatically once I have logged into X?
> 
> I've checked at several website, about half a dozen PDFs and can't find anything on this.


You could try creating a file called .xsession in your home directory.

This file is just a shell script and you can run something like this:


--------------------
# .xsession file
xterm &
netscape &
xsetroot -solid blue
icewm
--------------------


Note that the last program that is run should be the window manager that
you want to use, and the other programs should have an & after them so
they go in the background and allow the script to carry on starting up
other programs.  xsetroot doesn't need the & as it exits immediately
anyway.

Steve.






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]