Bug 247721

Summary: x11/kde: locale settings in konsole do not honour ~/.login_conf
Product: Ports & Packages Reporter: Walter von Entferndt <walter.von.entferndt>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Not Enough Information    
Severity: Affects Many People CC: adridg, arrowd, lwhsu, michael.osipov
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Walter von Entferndt 2020-07-02 17:48:24 UTC
I am refering to my initial bug report on https://dev.gnupg.org/T4981 (closed as invalid by me).

In my ~/.login_conf I have set de_DE.UTF-8 and charset as documented in the handbook, and cap_mkdb(8)'ed it.  In KDE systemsettings, I have set "Germany" as the region, and all detailed settings are "no change" except for 'numeric' I have 'ksh_DE' for a modern numeric format "1 234 567,89".
 
When I issue 'locale' and 'locale charmap' on the bare console, they show the correct settings LC_*=de_DE.UTF-8 and UTF-8, resp.  But in the KDE konsole, the env variables are LC_*=C and charmap=US-ASCII, except LANG=de_DE.UTF-8.

Programs like gpg show strange (mixed) handling of 8-bit characters when I use it in KDE konsole (see the above link).

I have no idea where this bug is rooted: my own misconfiguration, sddm, KDE startup script, some KDE lib, KDE systemsettings, konsole (all of these: upstream), or the FreeBSD patches for one of these.

Thx in advance!
Comment 1 Michael Osipov 2020-07-02 18:15:48 UTC
Your ksh_DE should be the only true format. Highly in favor of this.
Comment 2 Gleb Popov freebsd_committer freebsd_triage 2021-09-17 16:31:17 UTC
Konsole works fine for me, so this is certainly some misconfiguration on your side.

Can you try creating a new user, logging in, and then trying Konsole? This will ensure that no custom configs get picked up.
Comment 3 Adriaan de Groot freebsd_committer freebsd_triage 2021-09-17 20:43:13 UTC
This PR really needs a *very* detailed reproducer. Basically, given a fresh FreeBSD install (let's assume x11/kde5 is installed from packages, and sddm, but no users beyond root exist) and a tester who has never seen anything but 7-bit ASCII, what needs to be done to demonstrate the behavior -- whatever it is?

- explain what needs to be done on the text (system) console and how to test
- explain what needs to be done inside KDE systemsettings

For the latter, I **suppose** it means:

- start systemsettings
- pick *Regional Settings* under *Personalization* (left panel), then choose *Language* in the left panel. A list appears under a heading *Configure Plasma translations*. ..

Frankly I'm not sure that applies to applications at all, from the description (Plasma translations).
Comment 4 Gleb Popov freebsd_committer freebsd_triage 2021-10-19 08:59:05 UTC
Closing this as "Not enough information".

If the problem persists, please include reproduction steps.