Unknown Authn provider: ldap

Unknown Authn provider: ldap

a2enmod authnz_ldap
apache2ctl restart


Fix: Xfce 4.10 panel no longer expands

After upgrading to Xfce 4.10 from 4.8, I noticed that the clock/notification area no longer pushed to the right edge of the panel.

This is due to a change in the Window Buttons panel plugin which no longer expands to fill the available space[1].

To emulate the old behavior, add a transparent separator between the window buttons and the clock/notification area, setting its expand property.


[1] https://wiki.archlinux.org/index.php/Xfce

FreeNX: Disable Persistent Session

It’s a bit unintuitive to set non-persistent session on FreeNX server. After a few attempts, here is the working settings:

Edit /usr/NX/etc/node.cfg:



KDE Desktop Shell Scripting Console

I keep forgetting how to run Desktop Shell Scripting Console. So here it is just to remind myself:

  • Alt + F2
  • Type desktop console and hit Enter

Wanna learn more what this stool’s for? Head to http://techbase.kde.org/KDE_System_Administration/PlasmaDesktopScripting#Running_Scripts.


VIM backspace delete problem

In insert mode, backpace doesn’t delete characters as intended. To fix it add this to .vimrc:

set backspace=indent,eol,start

Ref: http://vim.wikia.com/wiki/Backspace_and_delete_problems


FreeBSD: How to check version of installed packages

# pkg_version -v

Running pkg_version -v could take a while. If we only want a quick look:

# pkg_info -xI

If we want to see if some packages are out of date:

# pkg_version -v -X -s

And to check all out of date packages:

# pkg_version -vL "="


Installing FreeBSD 9 source

Well, I need FreebSD 9 source to compile fusefs-kmod, which is required by gvfs, which’s in turn required by xfce.

A lot of people recommend to use sysinstall to add the so called userland sources.

sysinstall -> Configure -> Distribution -> src

However, it didn’t work!!

Thanks to wblock@[1] who pointed out that “sysinstall is mostly dead” and suggested a few ways to get the sources to your system. One of them is:

Download the tar file that matches the version you installed. In my case it’s amd64:
# wget ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/9.0-RELEASE/src.txz

Unpack the archive to /usr/src:
# tar -C / -xvzf src.txz

[1] http://forums.freebsd.org/showthread.php?t=29172