diff options
author | hut <hut@lavabit.com> | 2012-12-03 21:28:40 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2012-12-04 23:32:21 +0100 |
commit | 7836af4f970a8f2b7782dc21e16540da57279c69 (patch) | |
tree | 255d279ae46c9ecb39efea41867b186b5e9df00c /ranger | |
parent | 41e96a2a18824879fb6476879440fd8bb66c1d82 (diff) | |
download | ranger-7836af4f970a8f2b7782dc21e16540da57279c69.tar.gz |
ext.rifle: add xterm as a fallback terminal
Diffstat (limited to 'ranger')
-rwxr-xr-x | ranger/ext/rifle.py | 2 |
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: |