As this application never returns (closes) I can't seem to get it to redirect it's output to a file

xev > /tmp/file.txt

does not work...try it. It will create the file, but with no text inside. Any other idea's much appreciated.