Change terminal window title only if running on X terminal.