msokalski / ascii-patrol

Ascii Patrol is an ASCII game project. It was mainly inspired by "Moon Patrol", my favourite arcade game at the times I was a child.
GNU General Public License v3.0
221 stars 20 forks source link

No keyboard detected (Ubuntu 24.04.1, snap package) #29

Open Dadu042 opened 1 month ago

Dadu042 commented 1 month ago

Snap package v1.7 (29 nov 2022). The main screen does appear and move, but the game does not detect any key of the keyboard).

From terminal I get (after doing a CTRL+C):

$ ascii-patrol
WARNING: an empty LD_LIBRARY_PATH has been set. CWD will be added to the library path. This can cause the incorrect library to be loaded.
Couldn't get a file descriptor referring to the console
Pulse: Context connecting...
Pulse: Connection failed.
W=121, H=30
Falling back to X11 input
msokalski commented 1 month ago

I believe this is terminal emulator app related. What app do you use, gnome-terminal? Could you try running it first from TTY console (ctrl+alt+f3...f7)?

Dadu042 commented 1 month ago

I used Gnome terminal (v3.52.0 from Gnome 46). Keyboard behavior is OK under TTY console.