SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
1)What do I need to do to get my num lock to turn on during boot?
2)When I log out from a user other than root, I do not have an option to turn off the computer...I go directly to signon screen. Then I have to log on as root. When I log off as root, then I have the various options that I need.
3) When I do log off and shut down computer I get to "power down" but my computer will not turn off.. It worked okay with Mandrake.
1. Num Lock, (look at Config-HOWTO document, where I quoted this from)
Numlock on by default, add these lines to /etc/rc.d/rc.sysinit:
for tty in /dev/tty[1-9]*; do
setleds -D +num < $tty
done
2. Assuming you are using gdm to login in/out, as root run the gnome desktop and go thru the gnome menus until you find the login setup. In that configuration routine, you can enable the system controls (reboot, shutdown, reconfigure login from login screen, etc.)
3. To get your computer to shut the power at the end of the shutdown command (assuming that you have installed the 'bare.i' kernel), mount your install cd and from the kernels/bareacpi.i directory, copy the bzImage to your /boot directory, adn rename it to vmlinuz. (Copy the System.map and the config, also). You should have chosen the bareacpi.i kernel during the installation, if you want to use a preconfigured kernel and want to do power control.
The other alternative is to rebuild your kernel to match your system hardware, and remove the unused drivers for hardware you don't have. But if you have not done this before, I suggest you do a lot of reading on the subject of kernel rebuild, first. And be familiar with your hardware, specifically the make/model of your hardware items (video card, monitor capability, sound hardware, network hardware, etc.)
Place the script in sysvinit. Num lock turns on @ the very end of boot process, but turns off when system goes into GUI . GUI starts up automatically(default runlevel is 4). Do I need to place this script in a certain order in sysvinit.. see below
#!/bin/sh
#
# rc.sysvinit This file provides basic compatibility with SystemV style
# startup scripts. The SystemV style init system places
# start/stop scripts for each runlevel into directories such as
# /etc/rc.d/rc3.d/ (for runlevel 3) instead of starting them
# from /etc/rc.d/rc.M. This makes for a lot more init scripts,
# and a more complicated execution path to follow through if
# something goes wrong. For this reason, Slackware has always
# used the traditional BSD style init script layout.
#
# However, many binary packages exist that install SystemV
# init scripts. With rc.sysvinit in place, most well-written
# startup scripts will work. This is primarily intended to
# support commercial software, though, and probably shouldn't
# be considered bug free.
#
# Written by Patrick Volkerding <volkerdi@slackware.com>, 1999
# from an example by Miquel van Smoorenburg <miquels@cistron.nl>.
# Run an init script:
startup() {
case "$1" in
*.sh)
sh "$@"
;;
*)
"$@"
;;
esac
}
# Set onlcr to avoid staircase effect.
stty onlcr 0>&1
if [ "$runlevel" = "" ]; then
runlevel=$RUNLEVEL
export runlevel
prevlevel=$PREVLEVEL
export prevlevel
fi
# Run kill scripts in the previous runlevel if not "none"
if [ ! "$prevlevel" = "N" ]; then
for script in /etc/rc.d/rc$prevlevel.d/K* ; do
if [ -x $script ]; then
startup $script stop
fi
done
fi
# Now do the startup scripts:
for script in /etc/rc.d/rc$runlevel.d/S* ; do
if [ -x $script ]; then
startup $script start
fi
done
for tty in /dev/tty[1-9]*; do
setleds -D +num < $tty
done
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.