SLACKWARE TIPS ( 1 )
( not really for beginners )
Wheelmouse in Slackware
This works also on other distro´s, but the location of your
file might be different ! Do a ¨locate xorg¨ to find out where
Do not start X stay in text mode.
Login as root ( not typing ¨su¨, but ¨root¨ )
First back up the old xorg.conf file for as things go really wrong:
( NOTE: In Slackware versions before
10 the file is /etc/X11/XF86Config !! )
# cp xorg.conf xorg.conf-OLD
Find the mouse pointer section, and change/add :
"Protocol" "IMPS/2" ( add IM )
Option "Device" "/dev/psaux" ( #
/dev/mouse, uncomment /dev/psaux )
Option "Resolution" "300" ( add full line )
Option "ZAxisMapping" "4 5" ( add full line
Option "Buttons" "3" (add full line )
Note: Space between the "4" and the "5" !
Save the file: ¨Esc¨ and ¨ZZ¨
exit ( to logout as root )
Login as normal user
Now your mouse scroll wheel should be functional !
GUI login in Slackware
Change the default runlevel in /etc/inittab from 3 to runlevel 4
NOTE: other disto´s runlevel
Shutdown / power off in Slack
On some hardware: Slackware does not power off by default as you give the command
¨shutdown -h now¨.
To address that problem:
Look for the APM section and
uncomment the line ¨# /sbin/modprobe apm¨ ( delete the # )
the file ( give the command /sbin/modprobe apm if you don´t want
reboot ) and next time you do ¨shutdown -h now¨ as root your
will power off as usual.
Slocate in Slackware
SonicDragon did send us the following addition:
I just noticed that for "locate" to work in slackware it won't
let you do "su" and "updatedb". You will have to do "su"
and "slocate -u" first.
After running "slocate -u" first, the
"updatedb" command should work normally.
That might be helpful to have added to the Slackware and Searching
tips, (if this is happening to other users and not just me).
Happy Slacking !
-- Jun 1 2003 ( Revised Dec 12 2008 ) --