elfmz / far2l

Linux port of FAR v2
GNU General Public License v2.0
1.78k stars 173 forks source link

Ctrl+1,2,3..0 do not work in ttyxi in GNome Terminal on Wayland systems #2042

Closed unxed closed 5 months ago

unxed commented 8 months ago

Due to Wayland security model, this is probably can not be easily fixed. See also: https://github.com/elfmz/far2l/issues/2040

Using a terminal emulator with some extended input mode, supported by far2l, like kitty, is one of the possible workarounds. You can also switch back to X11 sessions or use wx (GUI) far2l backend.

unxed commented 7 months ago

Theoretically possible solutions include using technique like in this Wayland keylogger: https://github.com/Aishou/wayland-keylogger or creating some kind of "proxy" between terminal app and Wayland server that could intercept keypress info and send to far2l.

unxed commented 7 months ago

Upstream issue: https://gitlab.gnome.org/GNOME/vte/-/issues/2601

Reproduces in KDE's Konsole as well. Upstream issue: https://bugs.kde.org/show_bug.cgi?id=435975

See also: https://github.com/elfmz/far2l/issues/2041

unxed commented 7 months ago

https://gitlab.gnome.org/GNOME/vte/-/issues/2764 https://bugs.kde.org/show_bug.cgi?id=484044

Maybe it would be a bit easier to implement win32-input-mode then kitty's protocol in popular terminals?

unxed commented 5 months ago

dup #2040, closing