Table of ContentsInstallation
Compiz instead of KWin
Install X Window System and drivers
You should have working X to install KDE. If you don't yet follow this guide.
Install KDE 4
Install the packages:
# pkg install virtuoso # chown -R virtuoso /usr/local/lib/virtuoso # pkg install kde # pkg install gtk-oxygen-engine # pkg install kde-gtk-config
Add to /etc/rc.conf:
dbus_enable="YES" hald_enable="YES" virtuoso_enable="YES" virtuoso_config="/usr/local/lib/virtuoso/db/virtuoso.ini"
Display Manager (login screen)
This will start KDE display manager on boot, but you can replace it with some other DM like Slim if you want.
Making it work
Create ~/.xinitrc for KDE (just this single line here):
Reboot and login into KDE.
Click Start → Computer → System Settings. Go to Application Appearance → Style and make sure that Widget Style is set to oxygen. Switch to GTK in the same window and setup look and fill of gtk applications (set to oxygen too).
That's it. Now tweak System Settings as you want.