Bug 247721 - x11/kde: locale settings in konsole do not honour ~/.login_conf
Summary: x11/kde: locale settings in konsole do not honour ~/.login_conf
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-kde (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-02 17:48 UTC by Walter von Entferndt
Modified: 2020-07-03 01:27 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.