Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
A question about locales
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 856
Location: Cape Town, South Africa

PostPosted: Sat Mar 08, 2025 4:37 pm    Post subject: A question about locales Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3686

PostPosted: Sun Mar 09, 2025 8:44 am    Post subject: Reply with quote

Did you read https://wiki.gentoo.org/wiki/Localization/Guide#Generating_specific_locales ?
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 856
Location: Cape Town, South Africa

PostPosted: Sun Mar 09, 2025 3:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
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