Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

A question about locales

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
iandoug
l33t
l33t
User avatar
Posts: 887
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

A question about locales

  • Quote

Post by iandoug » Sat Mar 08, 2025 4:37 pm

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: Select all

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: Select all

 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
Top
charles17
Advocate
Advocate
Posts: 3686
Joined: Sun Mar 02, 2008 3:20 pm

  • Quote

Post by charles17 » Sun Mar 09, 2025 8:44 am

Did you read https://wiki.gentoo.org/wiki/Localizati ... ic_locales ?
Top
iandoug
l33t
l33t
User avatar
Posts: 887
Joined: Fri Feb 11, 2005 5:05 pm
Location: Cape Town, South Africa

  • Quote

Post by iandoug » Sun Mar 09, 2025 3:13 pm

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 (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: Select all

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
Top
Post Reply

3 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy