termux / termux-app

Termux - a terminal emulator application for Android OS extendible by variety of packages.
https://f-droid.org/en/packages/com.termux
Other
34.69k stars 3.65k forks source link

German keyboard layout problem: '<' and '>' keys wrongly mapped #1463

Open tyayers opened 4 years ago

tyayers commented 4 years ago

Problem description

I love Termux, it runs great on my Chromebook with Android. I live in Germany, and the German keyboard layout has one bug - the < and > keys don't work, which is a killer when writing HTML. When pressing the < and > keys, the # symbol comes instead (# and ').

Steps to reproduce

Switch to German keyboard layout, press < and > and see how # and ' symbols come.

Expected behavior

< and > keys produce < and > symbols.

Additional information

$ termux-info
Updatable packages:
adwaita-icon-theme/x11 3.34.3-2 all [upgradable from: 3.34.3]
apt/stable 1.4.9-25 i686 [upgradable from: 1.4.9-19]
aterm/x11 1.0.1-16 i686 [upgradable from: 1.0.1-15]
atk/x11 2.34.1-3 i686 [upgradable from: 2.34.1-2]
bash/stable 5.0.16 i686 [upgradable from: 5.0.11]
binutils/stable 2.34 i686 [upgradable from: 2.33.1]
busybox/stable 1.31.1-6 i686 [upgradable from: 1.30.1-9]
ca-certificates/stable 20200101 all [upgradable from: 20190828]
command-not-found/stable 1.47 i686 [upgradable from: 1.42]
curl/stable 7.68.0 i686 [upgradable from: 7.66.0-1]
dbus/x11 1.12.16-8 i686 [upgradable from: 1.12.16-7]
desktop-file-utils/x11 0.24-3 i686 [upgradable from: 0.24-2]
exo/x11 0.12.11-1 i686 [upgradable from: 0.12.11]
feh/x11 3.3-1 i686 [upgradable from: 3.3]
fluxbox/x11 1.3.7-17 i686 [upgradable from: 1.3.7-16]
git/stable 2.25.0-2 i686 [upgradable from: 2.24.1]
golang/stable 2:1.13.7 i686 [upgradable from: 2:1.13.6]
gpgv/stable 2.2.19 i686 [upgradable from: 2.2.17]
grep/stable 3.4 i686 [upgradable from: 3.3-2]
gtk-update-icon-cache/x11 3.24.13-2 i686 [upgradable from: 3.24.13-1]
gtk2/x11 2.24.32-20 i686 [upgradable from: 2.24.32-19]
gtk3/x11 3.24.13-2 i686 [upgradable from: 3.24.13-1]
hicolor-icon-theme/x11 0.17-13 all [upgradable from: 0.17-12]
hugo/stable 0.64.1 i686 [upgradable from: 0.62.2]
inetutils/stable 1.9.4-8 i686 [upgradable from: 1.9.4-7]
libcurl/stable 7.68.0 i686 [upgradable from: 7.66.0-1]
libdrm/x11 2.4.100-3 i686 [upgradable from: 2.4.100-2]
libepoxy/x11 1.5.4-1 i686 [upgradable from: 1.5.4]
libfontenc/x11 1.1.4-6 i686 [upgradable from: 1.1.4-5]
libgcrypt/stable 1.8.5-1 i686 [upgradable from: 1.8.5]
libgmp/stable 6.2.0 i686 [upgradable from: 6.1.2-4]
libgnutls/stable 3.6.12 i686 [upgradable from: 3.6.11.1]
libgpg-error/stable 1.37 i686 [upgradable from: 1.36-1]
libice/x11 1.0.10-7 i686 [upgradable from: 1.0.10-6]
libnghttp2/stable 1.40.0 i686 [upgradable from: 1.39.2]
libsm/x11 1.2.3-9 i686 [upgradable from: 1.2.3-8]
libxaw/x11 1.0.13-17 i686 [upgradable from: 1.0.13-16]
libxcomposite/x11 0.4.5-6 i686 [upgradable from: 0.4.5-5]
libxcursor/x11 1.2.0-6 i686 [upgradable from: 1.2.0-5]
libxdamage/x11 1.1.5-6 i686 [upgradable from: 1.1.5-5]
libxfce4ui/x11 4.15.1-1 i686 [upgradable from: 4.15.0]
libxfce4util/x11 4.15.0-1 i686 [upgradable from: 4.14.0-4]
libxfixes/x11 5.0.3-10 i686 [upgradable from: 5.0.3-9]
libxfont2/x11 2.0.4-3 i686 [upgradable from: 2.0.4-2]
libxi/x11 1.7.10-5 i686 [upgradable from: 1.7.10-4]
libxinerama/x11 1.1.4-9 i686 [upgradable from: 1.1.4-8]
libxkbfile/x11 1.1.0-6 i686 [upgradable from: 1.1.0-5]
libxmu/x11 1.1.3-7 i686 [upgradable from: 1.1.3-6]
libxpm/x11 3.5.13-1 i686 [upgradable from: 3.5.13]
libxrandr/x11 1.5.2-6 i686 [upgradable from: 1.5.2-5]
libxshmfence/x11 1.3-10 i686 [upgradable from: 1.3-9]
libxt/x11 1.2.0-6 i686 [upgradable from: 1.2.0-5]
libxxf86vm/x11 1.1.4-12 i686 [upgradable from: 1.1.4-11]
mesa/x11 17.3.9-16 i686 [upgradable from: 17.3.9-15]
nano/stable 4.8 i686 [upgradable from: 4.7]
ndk-sysroot/stable 20-7 i686 [upgradable from: 20-6]
net-tools/stable 1.60.2017.02.21-3 i686 [upgradable from: 1.60.2017.02.21-2]
netsurf/x11 3.9-6 i686 [upgradable from: 3.9-4]
nodejs/stable 13.0.0-1 i686 [upgradable from: 13.0.0]
procps/stable 3.3.16 i686 [upgradable from: 3.3.15-6]
psmisc/stable 23.3-2 i686 [upgradable from: 23.2-1]
readline/stable 8.0.4 i686 [upgradable from: 8.0.1]
sed/stable 4.8 i686 [upgradable from: 4.7-1]
shared-mime-info/x11 1.15-1 i686 [upgradable from: 1.15]
startup-notification/x11 0.12-11 i686 [upgradable from: 0.12-10]
tar/stable 1.32-5 i686 [upgradable from: 1.32-4]
termux-tools/stable 0.74 all [upgradable from: 0.72]
tigervnc/x11 1.10.1-1 i686 [upgradable from: 1.10.1]
util-linux/stable 2.35.1 i686 [upgradable from: 2.34-2]
vim/stable 8.2.0200 i686 [upgradable from: 8.1.2350]
vim-runtime/stable 8.2.0200 all [upgradable from: 8.1.2350]
xcb-util/x11 0.4.0-10 i686 [upgradable from: 0.4.0-9]
xfconf/x11 4.14.1-6 i686 [upgradable from: 4.14.1-5]
xkeyboard-config/x11 2.29 all [upgradable from: 2.28-2]
xorg-font-util/x11 1.3.2-3 i686 [upgradable from: 1.3.2-2]
xorg-fonts-75dpi/x11 1.0.3-10 all [upgradable from: 1.0.3-9]
xorg-fonts-alias/x11 1.0.3-8 all [upgradable from: 1.0.3-7]
xorg-fonts-encodings/x11 1.0.5-5 all [upgradable from: 1.0.5-4]
xorg-mkfontscale/x11 1.2.1-8 i686 [upgradable from: 1.2.1-7]
xorg-xauth/x11 1.1-5 i686 [upgradable from: 1.1-4]
xorg-xkbcomp/x11 1.4.2-8 i686 [upgradable from: 1.4.2-7]
xorg-xmessage/x11 1.0.5-10 i686 [upgradable from: 1.0.5-9]
Subscribed repositories:
https://dl.bintray.com/xeffyr/x11-packages x11/main
https://dl.bintray.com/grimler/science-packages-24 science/stable
https://dl.bintray.com/grimler/game-packages-24 games/stable
https://termux.org/packages stable/main
System information:
Linux localhost 3.18.0-19937-g5da699e3897c termux/termux-packages#1 SMP PREEMPT Wed Feb 5 22:59:00 PST 2020 i686 Android
Termux-packages arch:
i686
Android version:
9
Device manufacturer:
Google
Device model:
ASUS Chromebook Flip C302
sucotronic commented 4 years ago

I've similar problem with termux in chromebook. I've changed the keyboard layout in chrome os settings to spanish, and it works ok in all android apps, except for termux, where it thinks the input is all in US layout.

tyayers commented 4 years ago

For me the German layout works, but just the < and > keys are wrong.

harenber commented 3 years ago

Same here (Chromebook with a German keyboard), but exactly the other way round compared to @tyayers : can type <> but the +*~ key also generates <> . This makes it equally impossible to work without the ability to type a plus. None of the other Android apps seem to show that behaviour.