Bug 451920 - Changing format settings causes issues in applications
Summary: Changing format settings causes issues in applications
Status: RESOLVED DUPLICATE of bug 403580
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_formats (show other bugs)
Version: 5.24.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
Depends on:
Reported: 2022-03-26 08:53 UTC by David
Modified: 2022-03-28 22:30 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description David 2022-03-26 08:53:35 UTC
If I change some specific format in the system settings without changing the global, some applications will complain about something like LC_TYPE - e.g.:
During startup - Warning message:
Setting LC_TIME failed, using "C"

1. Go to Sytem Settings -> Regional Settings -> Formats.
2. Set the region to "en_US.UTF-8".
3. Reboot the computer.
4. Go back to the same place in the settings, but this time set the time format to something non-default, such as "en_DE.UTF-8".
5. Reboot the computer.
6. Use random non-KDE applications and see what they have to say. For example, try using R (in debian, this is package "r-base").

R says:
During startup - Warning message:
Setting LC_TIME failed, using "C"

Programs should not complain about format settings.

Operating System: Debian GNU/Linux
KDE Plasma Version: 5.24.3
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.0-5-amd64 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 2700 Eight-Core Processor
Memory: 15.6 GiB of RAM
Graphics Processor: AMD VEGA10
Comment 1 Nate Graham 2022-03-26 16:19:09 UTC
Can you paste the output of `cat ~/.config/plasma-localerc`?
Comment 2 David 2022-03-26 19:56:04 UTC
(In reply to Nate Graham from comment #1)
> Can you paste the output of `cat ~/.config/plasma-localerc`?

Output is as follows:
Comment 3 David 2022-03-28 16:49:21 UTC
As a bonus, depending on what's configured for the regional settings, JuK might take a long time to be able to play songs from the main window when just launched (they will show as greyed out in the meantime, and will not play when clicked, but individual playlists - if any - can be played in the meantime), and under some other configurations, Klickety might take a very long time to show a GUI when launched (without showing any message during the loading time).
Comment 4 hanyoung 2022-03-28 16:52:18 UTC
Because the locales haven't been generated.
Comment 5 Nate Graham 2022-03-28 22:30:58 UTC

*** This bug has been marked as a duplicate of bug 403580 ***