Posts Tagged ‘freebsd’

KMix mousewheel bug workaround

No Comments »

There’s a bug in Kmix (I’m running KDE 4.10.3) which causes the mousewheel to increment 15% rather than a more sensible 5% as normal. Add VolumePercentageStep=1.6666 to the file ~/.kde4/share/config/kmixrc and all should be well. Close and reopen kmix, or logout then back in and all will be well 🙂


Freebsd Apache mpm_worker

No Comments »

Building apache w/mpm_worker on FreeBSD breaks several ports. Add the following to /etc/make.conf in order to fix this issue:

APACHE_PORT=www/apache22-worker-mpm

FreeBSD and subversion

No Comments »

FreeBSD now uses subversion for acquiring sources, ports, etc. The below initial checkouts may help someone:

Sources (RELEASE, STABLE and CURRENT):

svn co svn://svn.freebsd.org/base/release/9.2.0 /usr/src
svn co svn://svn.freebsd.org/base/stable/9 /usr/src
svn co svn://svn.freebsd.org/base/head /usr/src

Ports:

svn co svn://svn.freebsd.org/ports/head /usr/ports

Linux java on FreeBSD

No Comments »

So I installed Linux’s jdk1.6 on my FreeBSD box at work and had to add a few environmental variables in order to get everything working correctly. I added the following to my .bashrc:

export PATH=/usr/local/linux-sun-jdk1.6.0/bin:$PATH
export JAVADIR=/usr/local/linux-sun-jdk1.6.0/
export LD_LIBRARY_PATH=/usr/local/linux-sun-jdk1.6.0/jre/lib/i386/jli

I also needed to mount linprocfs; I just added the following to /etc/fstab, and ran mount linprocfs:

linprocfs /compat/linux/proc linprocfs rw 0 0

Hopefully these help someone out!