Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting error in alacritty #28

Open
Besufikad17 opened this issue Aug 2, 2023 · 6 comments
Open

Getting error in alacritty #28

Besufikad17 opened this issue Aug 2, 2023 · 6 comments

Comments

@Besufikad17
Copy link

I followed the installation steps and installed tetris but i am getting

setupTerm: Couldn't look up terminfo entry "alacritty"

error.

@samtay
Copy link
Owner

samtay commented Aug 3, 2023

What's your OS and what installation method did you use?

@Besufikad17
Copy link
Author

OS: opensuse tumbleweed
I installed it using snap

@samtay
Copy link
Owner

samtay commented Aug 3, 2023

Interesting.. it looks like snap doesn't have access to the directory /usr/share/terminfo. You can probably launch by manually setting TERM, e.g. TERM=xterm tetris. Or copy those files to a place where the snap can find them:

mkdir -p ~/snap/tetris-thefenriswolf/current/.terminfo/a
cp /lib/terminfo/a/alacritty ~/snap/tetris-thefenriswolf/current/.terminfo/a/

@Besufikad17
Copy link
Author

Interesting.. it looks like snap doesn't have access to the directory /usr/share/terminfo. You can probably launch by manually setting TERM, e.g. TERM=xterm tetris. Or copy those files to a place where the snap can find them:

mkdir -p ~/snap/tetris-thefenriswolf/current/.terminfo/a
cp /lib/terminfo/a/alacritty ~/snap/tetris-thefenriswolf/current/.terminfo/a/

I couldn't find /lib/terminfo/a/alacritty

@samtay
Copy link
Owner

samtay commented Aug 4, 2023

What about /use/share/terminfo?

@Besufikad17
Copy link
Author

cp /lib/terminfo/a/alacritty ~/snap/tetris-thefenriswolf/current/.terminfo/a/

I changed /lib/terminfo/ to /usr/share/terminfo but i am getting the same error even if i copied the file

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

No branches or pull requests

2 participants