Index: tools/ew.py
===================================================================
--- tools/ew.py	(revision ce55b43d2fde4827af9a50d151005ef2e652cb21)
+++ tools/ew.py	(revision 37e8c4a1c218e8d69819bd4f761fa694e0884dad)
@@ -56,9 +56,17 @@
 		return emulators[platform][machine][processor]
 
+def termemu_detect():
+	for termemu in ['xfce4-terminal', 'xterm']:
+		try:
+			subprocess.check_output('which ' + termemu, shell = True)
+			return termemu
+		except:
+			pass
+
 def run_in_console(cmd, title):
-	cmdline = 'xterm -T ' + '"' + title + '"' + ' -e ' + cmd
+	cmdline = termemu_detect() + ' -T ' + '"' + title + '"' + ' -e \'' + cmd + '\''
 	print(cmdline)
 	if not is_override('dryrun'):
-		subprocess.call(cmdline, shell = True);
+		subprocess.call(cmdline, shell = True)
 
 def get_host_native_width():
