updated terminal functions to work with x-terminal-emulator