Remove trailing whitespaces when copy-pasting to X11.