tetris icon indicating copy to clipboard operation
tetris copied to clipboard

Getting error in alacritty

Open Besufikad17 opened this issue 2 years ago • 6 comments

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

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

error.

Besufikad17 avatar Aug 02 '23 14:08 Besufikad17

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

samtay avatar Aug 03 '23 02:08 samtay

OS: opensuse tumbleweed I installed it using snap

Besufikad17 avatar Aug 03 '23 14:08 Besufikad17

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/

samtay avatar Aug 03 '23 16:08 samtay

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

Besufikad17 avatar Aug 04 '23 14:08 Besufikad17

What about /use/share/terminfo?

samtay avatar Aug 04 '23 14:08 samtay

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

Besufikad17 avatar Aug 06 '23 21:08 Besufikad17