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

no ßöüä characters #102

Closed
JhonnyJason opened this issue Dec 1, 2021 · 13 comments
Closed

no ßöüä characters #102

JhonnyJason opened this issue Dec 1, 2021 · 13 comments
Labels

Comments

@JhonnyJason
Copy link

Hello,
Since some time now I have the problem that I cannot type ßüäö characters on my lxterminal.
I did some investigation and could not fix it with any newly installed system font and the keymap is correct.

Seems that I can use those characters on any other X application and native Terminals, other Terminals - thus points to a bug or missconfiguration of LXTerminal.
Thus I ask here :)

my current build is from arch community repository:
lxterminal 0.4.0-1 (lxde lxde-gtk3)

Cheers!

@FinboySlick
Copy link
Contributor

Last three (üäö) appear to work for me (My CF layout lets me type them. I don't have a key for ß however and I seem to be getting junk when I just paste it with my current font (Misc Fixed Regular).
What version of vte is your system using?

This sort of stuff is typically handled by VTE and not lxterminal itself. Could you give us the output of 'ldd' for lxterminal and a terminal that works just to compare which vte library they use?

@JhonnyJason
Copy link
Author

Hello and thank you for the reply!

For LXTerminal it is: libvte-2.91.so.0 => /usr/lib/libvte-2.91.so
For Xterm, I could not find a libvte
For Guake it was saying "not a dynamic executable"

So the idea tht VTE is causing it seems likely - I will install more Terminals to check them out if they have a similar issue.
So if that is the case how could it be fixed?

Ouput

$ ldd $(which lxterminal)

	linux-vdso.so.1 (0x00007ffe6dac5000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007efe7c951000)
	libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007efe7c1a7000)
	libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007efe7c0b2000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007efe7c04f000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007efe7c009000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007efe7bfaf000)
	libvte-2.91.so.0 => /usr/lib/libvte-2.91.so.0 (0x00007efe7bf1f000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007efe7bdde000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007efe7bdbd000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007efe7bbf1000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007efe7bb7a000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007efe7bb73000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007efe7b9b1000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007efe7b9a0000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007efe7b8c7000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007efe7b7a8000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007efe7b78f000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007efe7b740000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007efe7b674000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007efe7b654000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007efe7b648000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007efe7b61f000)
	libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007efe7b4ed000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007efe7b3a9000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007efe7b393000)
	libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007efe7b35d000)
	libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007efe7b345000)
	libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x00007efe7b285000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007efe7b27c000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007efe7b271000)
	libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007efe7b226000)
	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007efe7b214000)
	libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007efe7b20a000)
	libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007efe7b205000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007efe7b1f0000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007efe7b1e4000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007efe7b1dd000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007efe7b1d8000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007efe7b1cb000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007efe7b1c6000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007efe7b1bb000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007efe7b182000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007efe7b0f0000)
	libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007efe7b05c000)
	libffi.so.8 => /usr/lib/libffi.so.8 (0x00007efe7b050000)
	libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007efe7ae4f000)
	libicuuc.so.70 => /usr/lib/libicuuc.so.70 (0x00007efe7ac53000)
	libpcre2-8.so.0 => /usr/lib/libpcre2-8.so.0 (0x00007efe7abb8000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007efe7aaf3000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007efe7aad9000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007efe7a8c3000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007efe7a8a8000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007efe7a87e000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007efe7a875000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007efe7cac9000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007efe7a815000)
	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007efe7a7fb000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007efe7a7d6000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007efe7a7c9000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007efe7a7b7000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007efe7a7b2000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007efe7a70a000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007efe7a6da000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007efe7a6c7000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007efe7a6b9000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007efe7a662000)
	libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007efe7a627000)
	libstemmer.so.0 => /usr/lib/libstemmer.so.0 (0x00007efe7a561000)
	libicui18n.so.70 => /usr/lib/libicui18n.so.70 (0x00007efe7a23b000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007efe7a0f2000)
	libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x00007efe7a0c5000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007efe79f57000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007efe79f4d000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007efe79e3e000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007efe79e15000)
	libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007efe79cde000)
	libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007efe79cbc000)
	libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007efe79b3a000)
	libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007efe79b24000)
	libnettle.so.8 => /usr/lib/libnettle.so.8 (0x00007efe79add000)
	libhogweed.so.6 => /usr/lib/libhogweed.so.6 (0x00007efe79a94000)
	libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007efe799f2000)
	libicudata.so.70 => /usr/lib/libicudata.so.70 (0x00007efe77dd6000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007efe77db3000)
	libcap.so.2 => /usr/lib/libcap.so.2 (0x00007efe77da7000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007efe77c6b000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007efe77c64000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007efe77c5c000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007efe77c06000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007efe77be3000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007efe77bb9000)

$ ldd $(which xterm)

	linux-vdso.so.1 (0x00007ffd45245000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007ff2d55f5000)
	libXft.so.2 => /usr/lib/libXft.so.2 (0x00007ff2d55dd000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007ff2d558e000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007ff2d54c4000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007ff2d54af000)
	libXaw.so.7 => /usr/lib/libXaw.so.7 (0x00007ff2d5439000)
	libXmu.so.6 => /usr/lib/libXmu.so.6 (0x00007ff2d541c000)
	libXpm.so.4 => /usr/lib/libXpm.so.4 (0x00007ff2d5408000)
	libXt.so.6 => /usr/lib/libXt.so.6 (0x00007ff2d539d000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007ff2d525c000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x00007ff2d523f000)
	libutempter.so.0 => /usr/lib/libutempter.so.0 (0x00007ff2d523a000)
	libncursesw.so.6 => /usr/lib/libncursesw.so.6 (0x00007ff2d51c5000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007ff2d4ff9000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007ff2d5853000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007ff2d4fec000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007ff2d4fbc000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007ff2d4f9b000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007ff2d4f81000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007ff2d4f6c000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007ff2d4f35000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007ff2d4e5c000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007ff2d4e4e000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x00007ff2d4e44000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007ff2d4e18000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007ff2d4e11000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007ff2d4dec000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007ff2d4cb6000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007ff2d4c93000)
	libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007ff2d4c8a000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007ff2d4c83000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007ff2d4c7b000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007ff2d4c04000)

@JhonnyJason
Copy link
Author

Interesting 🤔

rxvt-unicode also does not work so far, but does not use libvte

$ ldd $(which urxvt)

	linux-vdso.so.1 (0x00007ffe881fa000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f40236ee000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f402369f000)
	libXft.so.2 => /usr/lib/libXft.so.2 (0x00007f4023687000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f402367a000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f4023539000)
	libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0x00007f402352d000)
	libperl.so => /usr/lib/perl5/5.34/core_perl/CORE/libperl.so (0x00007f402319a000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f4023179000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f4022fad000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f40239b6000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4022f92000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f4022ec8000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f4022e98000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f4022e6c000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f4022e65000)
	libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f4022e5d000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f4022e58000)
	libcrypt.so.2 => /usr/lib/libcrypt.so.2 (0x00007f4022e21000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f4022e07000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f4022df2000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f4022dbb000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f4022ce2000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f4022cd4000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f4022ccf000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f4022cc7000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f4022ca0000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f4022b6a000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f4022b47000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f4022ad0000)

@HybridDog
Copy link
Contributor

HybridDog commented Aug 17, 2024

I use lxterminal 0.4.0-1 on Arch Linux (I think it's this package) with LXDE and have no problems with typing these letters on a quertz keyboard.

@ib ib added the question label Dec 6, 2024
@ib
Copy link
Member

ib commented Dec 6, 2024

@JhonnyJason, does the problem still exist?

@JhonnyJason
Copy link
Author

@ib Thanks for checking.

Yes, I still cannot type these Characters - also I still did not figure out why that is.

@ib
Copy link
Member

ib commented Dec 6, 2024

@JhonnyJason

There must be some sort of misconfiguration beyond lxterminal.

I assume you have a qwertz keyboard, right?

What exactly happens when you press one of these keys?

What do echo $TERM, locale and localectl status say?

What does echo -e "\xc3\xa4" say?

@JhonnyJason
Copy link
Author

JhonnyJason commented Dec 6, 2024

@ib

Yhea, I also think so^^... and yes I use the qwertz keyboard

What happens exactly is nothing - the cursor does not move at all, no new character is printed.

$ echo $TERM

"xterm-256color"

$ locale

LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=

$ localectl status

System Locale: LANG=C
VC Keymap: de-latin1-nodeadkeys
X11 Layout: de
X11 Model: pc105

$ echo -e "\xc3\xa4"

��

@ib
Copy link
Member

ib commented Dec 6, 2024

@JhonnyJason, is there a reason why your locale isn't C.UTF-8?

@JhonnyJason
Copy link
Author

JhonnyJason commented Dec 6, 2024

@ib

Probably, but I don't know the reason and if it is necessary that it the stated locale is C.UTF-8

I usually use:

# locale-gen

Generating locales...
de_DE.UTF-8... done
de_DE.ISO-8859-1... done
de_DE.ISO-8859-15@euro... done
en_US.UTF-8... done
en_US.ISO-8859-1... done
Generation complete.

As I uncomment the corresponding de_DE locales and also the en_US ones - believing that I need it.

@JhonnyJason
Copy link
Author

Maybe it is related to the locale.conf

It's content is:

# This is the fallback locale configuration provided by systemd.

LANG="C"

Which is odd because I usually manually configure it to something else. It appears it had been overwritten by systemd at some point.

@ib
Copy link
Member

ib commented Dec 7, 2024

If I assume that you speak German and English, or want programs in these two languages, then it is usually sufficient if locale -a shows the following:

C
C.UTF-8
de_DE.UTF-8 [or de_DE.utf8]
POSIX

(Maybe also en_US.UTF-8, if you have programs with texts that were not originally written in English, but you want to see them in English instead of German.)

You should run sudo update-locale de_DE.UTF-8 (or sudo update-locale C.UTF-8 if you like English messages), log out and log in again. If a locale command shows the UTF-8 type of locale in the terminal, it should work. (In any case, it does for me, while I would also have the problem of missing umlauts with the C locale).

I'm out if systemd settings are involved.

@JhonnyJason
Copy link
Author

@ib
Hey thank you for helping me out here! :D
Finally I have it working again. It was exactly the problem how the locale was configured.
Specifically the /etc/locale.conf was wrong.

Just defining the minimum sensible:

LANG=en_US.UTF-8

That fixed the problem - now I am able to type all the characters 🎉

Now the output is
$ locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

$ locale -a

C
C.utf8
de_DE
de_DE@euro
de_DE.iso88591
de_DE.iso885915@euro
de_DE.utf8
deutsch
en_US
en_US.iso88591
en_US.utf8
german
POSIX

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

No branches or pull requests

4 participants