View previous topic :: View next topic |
Author |
Message |
iandoug l33t


Joined: 11 Feb 2005 Posts: 856 Location: Cape Town, South Africa
|
Posted: Sat Mar 08, 2025 4:37 pm Post subject: A question about locales |
|
|
Hi
Still struggling to get my compose key to work, apparently
# Import default rules from the system Compose file
include "%L"
goes to look for the Compose file in my locale folder.
My locales are
Code: |
LANG=en_ZA.utf8
LC_CTYPE="en_ZA.utf8"
LC_NUMERIC="en_ZA.utf8"
LC_TIME="en_ZA.utf8"
LC_COLLATE=C
LC_MONETARY="en_ZA.utf8"
LC_MESSAGES="en_ZA.utf8"
LC_PAPER="en_ZA.utf8"
LC_NAME="en_ZA.utf8"
LC_ADDRESS="en_ZA.utf8"
LC_TELEPHONE="en_ZA.utf8"
LC_MEASUREMENT="en_ZA.utf8"
LC_IDENTIFICATION="en_ZA.utf8"
LC_ALL=
|
But I have no en_ZA folder under locales
Code: |
ll /usr/share/X11/locale/
total 392
drwxr-xr-x 2 root root 4096 Jun 24 2023 C
drwxr-xr-x 2 root root 4096 Oct 7 2023 am_ET.UTF-8
drwxr-xr-x 2 root root 4096 Jun 24 2023 armscii-8
-rw-r--r-- 1 root root 31977 Sep 2 2024 compose.dir
drwxr-xr-x 2 root root 4096 Jun 24 2023 cs_CZ.UTF-8
drwxr-xr-x 2 root root 4096 Jun 24 2023 el_GR.UTF-8
drwxr-xr-x 2 root root 4096 Sep 2 2024 en_US.UTF-8
drwxr-xr-x 2 root root 4096 Jun 24 2023 fi_FI.UTF-8
drwxr-xr-x 2 root root 4096 Jun 24 2023 georgian-academy
drwxr-xr-x 2 root root 4096 Jun 24 2023 georgian-ps
drwxr-xr-x 2 root root 4096 Jun 24 2023 ibm-cp1133
(etc)
|
Should there be an en_ZA.utf8 folder there?
Thanks, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
 |
charles17 Advocate

Joined: 02 Mar 2008 Posts: 3686
|
|
Back to top |
|
 |
iandoug l33t


Joined: 11 Feb 2005 Posts: 856 Location: Cape Town, South Africa
|
Posted: Sun Mar 09, 2025 3:13 pm Post subject: |
|
|
Thanks, I reviewed that page, everything was already set up. I redid the steps anyway, no change.
Compose function was working fine for years on this box, then some update broke it and I can't get it fixed so exploring all options ... even plugged my old MS Natural keyboard in to see if it was hardware-related.
I don't know which update broke it ... I went a few months without writing research papers so did not notice it being broken. I mostly use it for custom characters.
It may have been the "profile" switch, or some KDE thing ...
I have Compose key set on LeftWin. Do I need to set any flags ant the "Alt + Ctrl" section of KDE's key bindings?
FWIW I ran qxkb (https://forums.gentoo.org/viewtopic-t-1172807-highlight-.html) which managed to fix it temporarily, but broke the key refresh rate, when I reset that in KDE settings, then compose stopped working again.
I just ran it again, it prints a bunch of stuff to screen including below, then stops/hangs.
Code: |
Set layout : "us"
QXKB:XKB args "-model pc104 -layout us -variant -option compose:lwin"
QXKB:setxkbmap argumetns : ("-model", "pc104", "-layout", "us", "-variant", "", "", "-option", "compose:lwin")
QXKB:setxkbmap result : 0
QXKB:XKB set
QXKB:Set delay
QXKB:xset argument : ("r", "rate", "1000", "1")
|
(refresh rate broken again ...)
Current keyboard is KeyChron running my own key layout, but QMK tells OS that it is generic US.
After running that I see Compose works again so now need to persuade qxkb to set refresh rate properly ... 1 refresh per second not gonna do it
So this is some software config issue, but how to fix? .....
Thanks, Ian _________________ Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|