[Sussex] (no subject)

John Crowhurst fyremoon at fyremoon.net
Sun Mar 23 21:50:00 UTC 2003


> I've heard of startup and other scripts, but as a child of the gui? How
> would  this be done ?

When your computer starts up and loads linux, it will run the startup
scripts, which deal with mounting the file system, starting up services
(like web servers, etc), and usually the last one to load is rc.local
(which are local services)

If you place the code into the rc.local script (this location is
distribution dependent, so on RedHat and Slackware its in /etc/rc.d/),
when your system reaches the login prompt, the numlock will be set.

If this was run on a child of a GUI, console tty's 1-8 will get the Num
lock set (the /dev/tty), but it won't affect the GUI (as it should handle
things itself)

--
John






More information about the Sussex mailing list