summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xranger/ext/rifle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/ext/rifle.py b/ranger/ext/rifle.py
index 157b1efb..4f551765 100755
--- a/ranger/ext/rifle.py
+++ b/ranger/ext/rifle.py
@@ -351,6 +351,8 @@ class Rifle(object):
 						if term not in get_executables():
 							self.hook_logger("Can not determine terminal command.  "
 								"Please set $TERMCMD manually.")
+							# A fallback terminal that is likely installed:
+							term = 'xterm'
 						os.environ['TERMCMD'] = term
 					cmd = [os.environ['TERMCMD'], '-e'] + cmd
 				if 'f' in flags or 't' in flags: