You are not logged in.
Pages: 1
It just doesn't matter which terminal emulator i use the output of "echo $TERM" is always Xterm ...
Could anyone enlighten me on why this happens and how i might be able to fix?
Thank you.
Last edited by jasonwryan (2015-02-26 18:36:26)
Offline
You don't fix it. This is set by the emulator, and most of them choose to set xterm for compatibility.
Online
Ok.
This results in a bad behavior in ranger file manager which opens an xterm terminal instead of one i'm using (terminator) seems this can't be fixed .
Thank you
Offline
Er ... that's a big leap. Please describe the *actual* problem you are having in your first posts and you will much likely get better results (and not end up posting XY problems). You should not change the TERM environment variable - but there are several ways that you can change what ranger launches: the simplest would be by setting a TERMCMD environment variable.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
man ranger <enter> /TERM<enter>
man rifle <enter> /TERM<enter>
Online
Thank you for your replies.
So I have fish shell set as my default shell . I've managed to set the $TERMCMD to terminator but the behavior is still the same.
Offline
@sfantu, please clarify what you are doing and what the issue is. I still don't get it? Are you running ranger in terminator but when you open a file to edit (e.x. in vim), it opens another window with xterm? Or are you trying to start ranger in terminator?
Offline
Yes i run terminator ... then i start ranger from terminator then when i open a file to edit in vim a new window open with xterm.
if i don't set the t flag ... then it opens in the same window . but with the flag i get the behavior above.
Offline
Did you try setting the $TERMCMD in your fish environment? I know you tried setting it but it sounds like you set it in the wrong place.
For zsh we would do export TERMCMD="/usr/bin/termite" in zshenv. Not sure about fish.
Last edited by frank604 (2015-02-26 19:11:50)
Offline
Yes it is set up from fish`s config, before the echo $TERMCMD would return blank now it outputs terminator ... but still i get the same behavior .
Which other place could i set it up from?
Last edited by sfantu (2015-02-26 23:14:41)
Offline
So what is defined in ~/.config/ranger/*.conf files?
My guess is that xterm is being called from there somewhere.
Knute
Offline
this is all there is in rc.conf
set show_hidden true
set preview_images true
and rifle.conf has no mention of xterm .
Offline
Pages: 1