Improve the logging of keyboard searches on Linux. (dm)