My Beryl and Compiz installation

Posted in FREEBSD by edeguzman on January 27, 2008

This is a step by step procedure on installing your beryl and compiz.
Actually this is just a copy and paste procedure that I got from other site.
I just want to save this procedure for my future use.

Install FreeBSD from CDROM ( ISO’s can be found at

Choose minimal install
and package ‘cvsup-without-gui-16.1h_2’ (to be found under ‘net’)

Make your supfile: ee supfile

*default tag=RELENG_6_2
*default prefix=/usr
*default base=/var/db
*default release=cvs delete use-rel-suffix compress


ESC > Enter > Enter
Update the system:

#cvsup -g -L 2 supfile

#make -j4 buildworld
#make buildkernel (KERNCONF=SMP for GENERIC only make buildkernel required)
#make installkernel (KERNCONF=SMP for GENERIC only make buildkernel required)
#shutdown now
#mergemaster -p
#make installworld
#mergemaster (in most cases installing the /temp is fine, i only needed to merge /etc/hosts)
#shutdown -r now

After installing the new world (congratulations btw) do the following.

#portsnap fetch
#portsnap extract

After this i builded everything from source (maybe it can be done much quicker but i’m a novice user so if ‘true’, let me know

#cd /usr/ports/x11/xorg
#make install clean

Install nvidia driver, download via
#gunzip NVIDIA-FreeBSD-x86-100.14.11.tar.gz
#tar -xvf NVIDIA-FreeBSD-x86-100.14.11.tar

#cd /your/directory/driver
‘ee’ some of the ‘Makefiles’, needed to be done for the new Xorg7-2, otherwise you’ll get an error

/your/directory//nvidia-driver/x11/driver (change to DRIVERDIR= ${X11BASE}/lib/modules/drivers in DRIVERDIR= ${X11BASE}/lib/xorg/modules/drivers

/your/directory//nvidia-driver/x11/extension (change to LIBDIR= ${X11BASE}/lib/modules/extensions in LIBDIR= ${X11BASE}/lib/xorg/modules/extensions

/your/directory//nvidia-driver/x11/lib (change to LIBDIR= ${X11BASE}/lib/modules in LIBDIR= ${X11BASE}/lib/xorg/modules

back to….. #cd /your/directory/driver
#make install
#Xorg -configure
#ee (make your config but you need at least)

Section “Screen”
Option “Renderaccel” “True”

Section “Extensions”
Option “Composite” “Enable”

Don’t need to ad more, by enabling Composite required Options are True by default)

#cd /usr/ports/misc/compat5x
#make install clean

#cd /usr/ports/x11-wm/beryl
#make install clean

#cd /usr/ports/x11/kde or gnome (whatever you choose)
#make install clean

Everything is ready.
Only some changes for /etc/rc.conf

#ee /etc/rc.conf


ESC > Enter > Enter


Then make .xinitrc
#echo “exec startkde” > ~/.xintrc (for gnome echo “exec gnome-session” > ~/.xinitrc)

Kmenu > Settings > Beryl-manager
Test your cube.

Below is the link where I got this procedure. Thanks to this contributor

This is my second installation…