add gnome-terminal keys and fix tmp file location