| PLEX86 | ||
|
Where to put shell settings under Susereading mouse coordinates 1503 On Fri, 12 May 2006 13:36:45 -0400, Gerald Pollack staggered into the Black Sun and said: So the... On 01 Jun 2006, in the Usenet newsgroup comp.os.linux.misc, in article What runlevel? For runlevel 3 (text or command line mode), see the man page for your shell. You are looking at the point where they talk about a login shell. For a GUI login, your display manager is the login shell, and you should see the man page for that application - XDM, GDM, and so on. 'tutorials and user guides' are nice, but the man pages are definitive. It depends on your login shell environment, which is controlled in this case by the runlevel. Run the command 'ps afuxw' and notice which process is the 'first' one for you. The read that specific man page. Quicky answer - GUI Login example xdm After the user logs in, xdm runs the Xstartup script as root. Then xdm runs the Xsession script as the user. This system ses- sion file may do some additional startup and typically runs the .xsession script in the user's home directory. When the Xsession script exits, the session is over. Quicky answer - Text Login: See the shell man page, as 'c' shells (csh, tcsh' etc.) use one set of files, while Bourne-Korn shells (sh, bash, ksh, pdksh, etc.) use a different set. Typically, aliases go in theetc-bashrc (system wide) and ~.bashrc (individual user), while environmental stuff goes inetc-profile (system wide) and ~.bashprofile (user). reading mouse coordinates 1502 On Fri, 12 May 2006 11:15:19 -0400, Gerald Pollack staggered into the Black Sun and said: IIRC, the kernel mouse modules return no data until-unless there's a mouse event of some sort. Moving the... Old guy
|
||||