I have been a devout slacker for many years (since 2001 to be exact). Of course I have used many different distros over the years but, like a true addict, always keep coming back to slack. What can I say? Slackware is fast, stable, and simple. Keep up the good work Patrick :)
This page is primarily intended to serve as a reminder to myself of all the small tweaks I perform or issues I encounter. This way when I upgrade to the next release of Slackware I won't have to spend all this time trying to remember what I've done. However, if someone out there can benefit from this page too then all the better.
With that said, let's get on with the show!
My current hardware is a Dell Inspiron 600m laptop:
Undervolting the CPU can save energy and reduce heat. I'm not particularly concerned with saving energy (always plugged in anyway...) but reducing heat is always a good thing.
The best tool I've found so far is the Linux PHC Tool .
Head into the forum and download the most recent release. It
patches the acpi_cpufreq module and replaces it with phc-intel.
Play with different voltage settings and find the lowest voltages
that make your system stable. My values are:
28 22 16 10 5 2
I use undervolting in conjunction with the (recommended) ondemand governer for frequency scaling. I can't remember if it is enabled by default in slackware, so if it isn't just roll your own kernel.
For the full (if somewhat lengthy) process for encrypting data/swap partitions in slackware, simply look to the README_CRYPT.TXT on the slack CD/DVD.
Quick version:
Create encrypted swap partition:
cryptsetup --cipher aes-cbc-essiv:sha256 --key-size 256 --key-file /dev/urandom create encryptedswap /dev/hdXX
Note: essiv hash size can NOT be larger than --key-size. e.g., aes-cbc-essiv:sha512 won't work with a --key-size 256
Note 1: Make sure the swap space isn't being used before turning it off. This can be done by ensuring that 'free -m' or 'top' reports all swap space free.
Note 2: If something borks up, delete crypttab and restore fstab. Try again
or restore the old swap space by running:
mkswap /dev/hdXX
swapon -a
swapon -s
Well, I haven't been able to figure out why but it always segfaults after trying to create a local game. It happens with:
QGraphicsItem::setParentItem ()
So for some reason the xfig package (xfig-3.2.4-i486-3.txz)
that comes with Slackware-current just won't run. You
try and run xfig and it immediately crashes and throws
a whole bunch of errors. Running xfig through gdb throws
the following:
Program received signal SIGABRT, Aborted.
0xb7bd7456 in raise () from /lib/libc.so.6
But interestingly enough, if you try compiling the latest version (xfig.3.2.5b.full.tar.gz) from source and running the binary you can get the program to launch. But clicking on any menu button causes xfig to immediately freeze up. Once again running through gdb you get the following error:
Program received signal SIGSEGV, Segmentation fault.
0xb7feaa46 in ?? () from /usr/lib/libXaw3d.so.8
So I'm not sure if the problem lies with glib or from libXaw3d.
As an interesting (related?) side note the slackware changelog on Wed
Jun 10, 2009 mentions:
" A large number of packages were recompiled or upgraded to drop
references to the now-obsolete libxcb-xlib and libXaw8 libraries"
A whole bunch of packages were updated/recompiled, but xfig wasn't one of them =\.
So... to get xfig running you have to compile it from source without libXaw3d support. To do this you download the latest version from www.xfig.org. (My version is xfig.3.2.5b.tar.gz)
After that you should have a working xfig.