Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Error opening terminal: xterm-termite. #630

Closed
ycf83 opened this issue Sep 1, 2018 · 3 comments
Closed

Error opening terminal: xterm-termite. #630

ycf83 opened this issue Sep 1, 2018 · 3 comments

Comments

@ycf83
Copy link

ycf83 commented Sep 1, 2018

hi,
i build termite for debian, if i want open open file with sudo in system like:

sudo nano /etc/hosts
Error opening terminal: xterm-termite.

in home with sudo no problem, only in root file i get this problem

@ycf83
Copy link
Author

ycf83 commented Sep 2, 2018

problem fixed
add this

if [ "$TERM" = xterm ]; then TERM=xterm-256color; fi
export TERM=xterm-256colo

@ycf83 ycf83 closed this as completed Sep 2, 2018
@jelly
Copy link
Collaborator

jelly commented Nov 28, 2018

The fix is wrong, please read the README.

@o7-machinehum
Copy link

problem fixed
add this

if [ "$TERM" = xterm ]; then TERM=xterm-256color; fi
export TERM=xterm-256colo

if [ "$TERM" = xterm ]; then 
    TERM=xterm-256color;
fi
export TERM=xterm-256color

Clean your shit up boi

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants