[Bug 541351] New: smarter way to set the hal keyboard properties