Home
Slackware 13.37
Unclassified
* Boot-up process
Run level 3 is multi-user mode. To determine what processes to start, slackware runs
/etc/rc.d/rc.M
This is where you should set up the privoxy daemon, for example.
* Ctl-Alt-Del disabling
Pressing Ctl-Alt-Del will cause a reboot. If you want to alter or disable this behaviour, edit /etc/inittab and search for shutdown.
* firefox
Doesn't work:
ln -s "/mnt/shared/Users/mcarter/Local Settings/Application Data/Mozilla/Firefox/Profiles/zl648qvt.default" ~/.mozilla/firefox/
* keyboard
http://blog.tpa.me.uk/2011/03/29/slackware-13-37-xorg-hal/
cp /{usr/share,etc}/X11/xorg.conf.d/90-keyboard-layout.conf
vi /etc/X11/xorg.conf.d/90-keyboard-layout.conf
Change
Option "XkbLayout" "us"
to
Option "XkbLayout" "gb"
Come out of X-Windows by pressing Ctl-Al-Backspace
Restart X-Windows using startx. The changes should now work
* lilo
Set the active partition::
parted
set 3 boot on
quit
Reinstall lilo to the active partition::
lilo
This should now work. To recover, reboot from the slackware DVD and type::
boot: hugesmp.s root=/dev/sda3 rdinit= ro
This is working as at 07-Feb-2010.
* lang/locale
echo "LANG=en_GB" >> /etc/profile.d/lang.sh
Reboot is sufficient to activate the change.
You can check the available locales by typing
locale -a
* network
You can reconfigure the network using
netconfig
http://alien.slackbook.org/dokuwiki/doku.php?id=slackware:network
* sound
vim ~/.soundrc :
pcm.!default {
type hw
card 1
device 0
}
ctl.!default {
type hw
card 1
device 0
}
* swap
dd if=/dev/zero of=/swap-mc bs=1k count=3000000 # 3GB
mkswap -c -L swap-mc /swap-mc
swapon -a
echo "/swap-mc swap swap defaults 0 0" >>/etc/fstab
To see if it's been activated:
free -m
You can run an infinite loop to try to gobble up cache by typing
python -m inf
Don't forget to kill it after awhile!
* webcam
mplayer tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video1
Check out
https://help.ubuntu.com/community/Webcam
which contains tips on recording videos, too.
* virtualbox
This section describes how to set up a Slackware guest system.
As root:
useradd -u 215 -d /var/run/vboxadd -g 1 -s /bin/sh vboxadd
From sbopkg, install the following guest additions:
virtualbox-addons
#virtualbox-ose-addons
virtualbox-kernel-addons
If you don't add them, then you will have problems with X Windows, and more.
From VirtualBox, create a shared folder.
Suppose you created a shared name $sharename as vbshare and path
c:\Users\mcarter\vbshare
In Slackware, you need a mount point e.g. $mountpoint as /mnt/shared
which you can create from root using:
mkdir /mnt/shared
You mount it by:
mount -t vboxsf vbshare /mnt/shared
To mount at boot, add the following line to /etc/fstab:
vbshare /mnt/shared vboxsf defaults 0 0
Add following line to /etc/rc.d/rc.local:
mount /mnt/shared
* Miscellaneous software
ktorrent - bittorrent with Qt interface
Also on this site
groups
sbopkg
slackpack - slackware package description
Author: Mark Carter
Created: 23-Dec-2011
Updated: 24-Dec-2011